SlideShare a Scribd company logo
Intro to Javascript
December 2017
WIFI: CrossCamp.us Events
http://bit.ly/intro-js-la
1
Instructor
Andy Amaya
Thinkful student
Full-stack developer
TAs
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
2
About you
What's your name?
What brought you here today?
What is your programming experience?
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
3
About Thinkful
Thinkful helps people become developers or data scientists
through 1-on-1 mentorship and project-based learning
These workshops are built using this approach.
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
4
Suggestions for learning
Don't get discouraged, struggle leads to mastery
Don't be shy, take full advantage of our support
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
5
Agenda
Learn key Javascript concepts (30 min)
Go over assignments (10 min)
Complete assignments with our support! (30 min)
Go over answer key (10 min)
Steps to continue learning (10 min)
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
6
How the web works
Type a URL from a client (e.g. google.com)​
Browser sends an HTTP request asking for specific files
Browser receives those files and renders them as a website
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
7
Client/Servers
Client (sends requests)
Frontend Developer
Manages what user sees
Server (sends response)
Backend Developer
Manages what app does
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
8
Example: facebook.com
Client Server
Open browser
and navigate to
facebook.com
HTML, CSS, &
Javascrip render
newsfeed
Request
Response
Algorithm
determines
content of feed.
Sends back
HTML, CSS,
Javascript files
Application Logic
Initial request
Following response
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
9
Example: facebook.com
Client Server
Open browser
and navigate to
facebook.com
HTML, CSS, &
Javascrip render
newsfeed
Request
Response
Algorithm
determines
content of feed.
Sends back
HTML, CSS,
Javascript files
Application Logic
Initial request
Following response
We'll be writing Javascript, the code
that the browser uses to run the app
bit.ly/intro-js-la
10
WIFI: CrossCamp.us
Events
History of Javascript
Written by Brendan Eich in 1995 for Netscape
Initial version written in 10 days
Completely unrelated to Java, but maybe named after it to
draft off its popularity
Over 10 years, became default programming language for
browsers
Continues to evolve under guidance of ECMA International,
with input from top tech companies
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
11
Javascript today
Has large community of developers, libraries and
frameworks
Lots of job opportunities
Also the syntax is easier to understand for first-time
developers
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
12
Defining a variable with Javascript
var numberOfSheep = 20
Initialize variable
Name of variable
Value of variable
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
13
Variable examples
JSBin.com
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
14
Repl.it setup & first steps!
http://bit.ly/tf-intro-js-challenges
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
15
Declaring a function with Javascript
function greet() {
return "Hello world!";
}
Initialize function Name of function
What the function does
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
16
Function examples
JSBin.com
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
17
If/Else Statements
go to gas stationkeep driving
if false if true
need gas?
family roadtrip
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
18
If/Else Statements
function familyRoadtrip() {
if (needGas == true) {
getGas();
}
else {
keepDriving();
}
}
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
19
Comparing Values
== (equal to)
5 == 5 --> true
5 == 6 --> false
!= (not equal to)
5 != 5 --> false
5 != 6 --> true
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
20
If/Else Statements and Comparing Values
JSBin.com
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
21
Parameters within functions
function adder(a, b) {
return a + b;
}
adder(1,2);
Parameters in declaration
Parameters used
within the function
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
22
Examples of parameters within functions
JSBin.com
bit.ly/intro-js-laWIFI: CrossCamp.us
Events
23
Real developers use Google... a lot
bit.ly/intro-js-labit.ly/intro-js-laWIFI: CrossCamp.us
Events
24
Ways to keep learning
25
For aspiring developers, bootcamps fill the gap
26
Thinkful graduates in LA...
80%as full-time developers/engineers
Ben Johnson
Link for the third party audit jobs report:
https://www.thinkful.com/bootcamp-jobs-stats
Software Engineer
Cody Berlin
Fullstack Developer
Mark Pinero
Frontend Developer
placed in tech careers
92%
27
Link for the third party audit jobs report:
https://www.thinkful.com/bootcamp-jobs-stats
...and around the country & world
28
Our students receive unprecedented support
Learning Mentor
Career MentorProgram Manager
Local Community
You
29
Thinkful Two-Week Trial
Talk to one of us and email benjy@thinkful.com to learn more
Two-week course with 6 mentor sessions
for $50 ($750 value)
Start with HTML, CSS and JavaScript
Option to continue with full bootcamp
Financing & scholarships available
Offer valid for one week after event
Benjy Schechner
Education Advisor
30

More Related Content

PDF
Intro js-nov-7
PDF
Intro js-la-jan-4
PDF
Thinkful DC - Intro to JavaScript
PDF
Intro to JavaScript
PDF
Introjscb112817
PDF
Introjssd 11.8.17
PDF
Ruby Tuesday - March 27, 2012 (
PDF
Beginner's Guide to Frontend Development: Comparing Angular, React, Ember, an...
Intro js-nov-7
Intro js-la-jan-4
Thinkful DC - Intro to JavaScript
Intro to JavaScript
Introjscb112817
Introjssd 11.8.17
Ruby Tuesday - March 27, 2012 (
Beginner's Guide to Frontend Development: Comparing Angular, React, Ember, an...

What's hot (20)

PDF
Baawjsajq109
PDF
The Frontend Developer Landscape Explained and the Rise of Advanced Frontend ...
PPTX
How to be Famous - Student Recruitment through live internet broadcast
PDF
Hacking the Mid-End (Great Lakes Ruby Bash Edition)
PDF
Building a slackbot
PDF
Build an App with JavaScript and jQuery - LA - July 18 Pasadena
PPTX
2010 - Basta: ASP.NET Controls für Web Forms und MVC
PDF
Build a Game with JavaScript
PDF
NodeConfLondon - Making ES6 happen with ChakraCore and Node
PPTX
Web development
PDF
tfIjspdx080717
PDF
Jsjqwebapp.12.14.17
PDF
Progressing JavaScript and Apps the Web way…
PDF
JavaScript is a buffet - Scriptconf 2017 keynote
PDF
Build an App with JavaScript and jQuery - LA - July 27
PDF
My first 3 months working with word press
PDF
Distributed: Reinventing the Workplace
PDF
WordCamp St Louis 2018 Contributing Without Coding
PDF
Hinting at a better web
PPTX
Building Responsible Wordpress Sites
Baawjsajq109
The Frontend Developer Landscape Explained and the Rise of Advanced Frontend ...
How to be Famous - Student Recruitment through live internet broadcast
Hacking the Mid-End (Great Lakes Ruby Bash Edition)
Building a slackbot
Build an App with JavaScript and jQuery - LA - July 18 Pasadena
2010 - Basta: ASP.NET Controls für Web Forms und MVC
Build a Game with JavaScript
NodeConfLondon - Making ES6 happen with ChakraCore and Node
Web development
tfIjspdx080717
Jsjqwebapp.12.14.17
Progressing JavaScript and Apps the Web way…
JavaScript is a buffet - Scriptconf 2017 keynote
Build an App with JavaScript and jQuery - LA - July 27
My first 3 months working with word press
Distributed: Reinventing the Workplace
WordCamp St Louis 2018 Contributing Without Coding
Hinting at a better web
Building Responsible Wordpress Sites
Ad

Similar to Intro js-la-12-18 (20)

PDF
Intro to js september 19
PDF
Build a Game with JavaScript - Pasadena July
PDF
Intro to js august 31
PDF
Intro to JavaScript - LA - July
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
PDF
Intro to JavaScript
PDF
Intro to JavaScript
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
PDF
Intro to JavaScript
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
PDF
Intro to Javascript
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
PDF
Intro js3.22.18
PDF
Itjsf13
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-28
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74
PDF
Itjsf13
PDF
Intro To JavaScript
PDF
Itjsf129
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
Intro to js september 19
Build a Game with JavaScript - Pasadena July
Intro to js august 31
Intro to JavaScript - LA - July
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
Intro to JavaScript
Intro to JavaScript
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
Intro to JavaScript
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
Intro to Javascript
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
Intro js3.22.18
Itjsf13
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-28
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74
Itjsf13
Intro To JavaScript
Itjsf129
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
Ad

More from Thinkful (20)

PDF
893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-25-46-115-141-308-324-370
PDF
LA 1/31/18 Intro to JavaScript: Fundamentals
PDF
LA 1/31/18 Intro to JavaScript: Fundamentals
PDF
Twit botsd1.30.18
PDF
Build your-own-instagram-filters-with-javascript-202-335 (1)
PDF
Baggwjs124
PDF
Become a Data Scientist: A Thinkful Info Session
PDF
Vpet sd-1.25.18
PDF
LA 1/18/18 Become A Web Developer: A Thinkful Info Session
PDF
How to Choose a Programming Language
PDF
Batbwjs117
PDF
1/16/18 Intro to JS Workshop
PDF
LA 1/16/18 Intro to Javascript: Fundamentals
PDF
(LA 1/16/18) Intro to JavaScript: Fundamentals
PDF
Websitesd1.15.17.
PDF
Bavpwjs110
PDF
Byowwhc110
PDF
Getting started-jan-9-2018
PDF
Introjs1.9.18tf
PDF
Proglangauage1.10.18
893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-25-46-115-141-308-324-370
LA 1/31/18 Intro to JavaScript: Fundamentals
LA 1/31/18 Intro to JavaScript: Fundamentals
Twit botsd1.30.18
Build your-own-instagram-filters-with-javascript-202-335 (1)
Baggwjs124
Become a Data Scientist: A Thinkful Info Session
Vpet sd-1.25.18
LA 1/18/18 Become A Web Developer: A Thinkful Info Session
How to Choose a Programming Language
Batbwjs117
1/16/18 Intro to JS Workshop
LA 1/16/18 Intro to Javascript: Fundamentals
(LA 1/16/18) Intro to JavaScript: Fundamentals
Websitesd1.15.17.
Bavpwjs110
Byowwhc110
Getting started-jan-9-2018
Introjs1.9.18tf
Proglangauage1.10.18

Recently uploaded (20)

PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
01-Introduction-to-Information-Management.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
master seminar digital applications in india
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
RMMM.pdf make it easy to upload and study
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Cell Structure & Organelles in detailed.
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
01-Introduction-to-Information-Management.pdf
Computing-Curriculum for Schools in Ghana
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Microbial diseases, their pathogenesis and prophylaxis
Orientation - ARALprogram of Deped to the Parents.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Weekly quiz Compilation Jan -July 25.pdf
Final Presentation General Medicine 03-08-2024.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
master seminar digital applications in india
What if we spent less time fighting change, and more time building what’s rig...
RMMM.pdf make it easy to upload and study
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Complications of Minimal Access Surgery at WLH
Cell Structure & Organelles in detailed.
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE

Intro js-la-12-18

  • 1. Intro to Javascript December 2017 WIFI: CrossCamp.us Events http://bit.ly/intro-js-la 1
  • 2. Instructor Andy Amaya Thinkful student Full-stack developer TAs bit.ly/intro-js-laWIFI: CrossCamp.us Events 2
  • 3. About you What's your name? What brought you here today? What is your programming experience? bit.ly/intro-js-laWIFI: CrossCamp.us Events 3
  • 4. About Thinkful Thinkful helps people become developers or data scientists through 1-on-1 mentorship and project-based learning These workshops are built using this approach. bit.ly/intro-js-laWIFI: CrossCamp.us Events 4
  • 5. Suggestions for learning Don't get discouraged, struggle leads to mastery Don't be shy, take full advantage of our support bit.ly/intro-js-laWIFI: CrossCamp.us Events 5
  • 6. Agenda Learn key Javascript concepts (30 min) Go over assignments (10 min) Complete assignments with our support! (30 min) Go over answer key (10 min) Steps to continue learning (10 min) bit.ly/intro-js-laWIFI: CrossCamp.us Events 6
  • 7. How the web works Type a URL from a client (e.g. google.com)​ Browser sends an HTTP request asking for specific files Browser receives those files and renders them as a website bit.ly/intro-js-laWIFI: CrossCamp.us Events 7
  • 8. Client/Servers Client (sends requests) Frontend Developer Manages what user sees Server (sends response) Backend Developer Manages what app does bit.ly/intro-js-laWIFI: CrossCamp.us Events 8
  • 9. Example: facebook.com Client Server Open browser and navigate to facebook.com HTML, CSS, & Javascrip render newsfeed Request Response Algorithm determines content of feed. Sends back HTML, CSS, Javascript files Application Logic Initial request Following response bit.ly/intro-js-laWIFI: CrossCamp.us Events 9
  • 10. Example: facebook.com Client Server Open browser and navigate to facebook.com HTML, CSS, & Javascrip render newsfeed Request Response Algorithm determines content of feed. Sends back HTML, CSS, Javascript files Application Logic Initial request Following response We'll be writing Javascript, the code that the browser uses to run the app bit.ly/intro-js-la 10 WIFI: CrossCamp.us Events
  • 11. History of Javascript Written by Brendan Eich in 1995 for Netscape Initial version written in 10 days Completely unrelated to Java, but maybe named after it to draft off its popularity Over 10 years, became default programming language for browsers Continues to evolve under guidance of ECMA International, with input from top tech companies bit.ly/intro-js-laWIFI: CrossCamp.us Events 11
  • 12. Javascript today Has large community of developers, libraries and frameworks Lots of job opportunities Also the syntax is easier to understand for first-time developers bit.ly/intro-js-laWIFI: CrossCamp.us Events 12
  • 13. Defining a variable with Javascript var numberOfSheep = 20 Initialize variable Name of variable Value of variable bit.ly/intro-js-laWIFI: CrossCamp.us Events 13
  • 15. Repl.it setup & first steps! http://bit.ly/tf-intro-js-challenges bit.ly/intro-js-laWIFI: CrossCamp.us Events 15
  • 16. Declaring a function with Javascript function greet() { return "Hello world!"; } Initialize function Name of function What the function does bit.ly/intro-js-laWIFI: CrossCamp.us Events 16
  • 18. If/Else Statements go to gas stationkeep driving if false if true need gas? family roadtrip bit.ly/intro-js-laWIFI: CrossCamp.us Events 18
  • 19. If/Else Statements function familyRoadtrip() { if (needGas == true) { getGas(); } else { keepDriving(); } } bit.ly/intro-js-laWIFI: CrossCamp.us Events 19
  • 20. Comparing Values == (equal to) 5 == 5 --> true 5 == 6 --> false != (not equal to) 5 != 5 --> false 5 != 6 --> true bit.ly/intro-js-laWIFI: CrossCamp.us Events 20
  • 21. If/Else Statements and Comparing Values JSBin.com bit.ly/intro-js-laWIFI: CrossCamp.us Events 21
  • 22. Parameters within functions function adder(a, b) { return a + b; } adder(1,2); Parameters in declaration Parameters used within the function bit.ly/intro-js-laWIFI: CrossCamp.us Events 22
  • 23. Examples of parameters within functions JSBin.com bit.ly/intro-js-laWIFI: CrossCamp.us Events 23
  • 24. Real developers use Google... a lot bit.ly/intro-js-labit.ly/intro-js-laWIFI: CrossCamp.us Events 24
  • 25. Ways to keep learning 25
  • 26. For aspiring developers, bootcamps fill the gap 26
  • 27. Thinkful graduates in LA... 80%as full-time developers/engineers Ben Johnson Link for the third party audit jobs report: https://www.thinkful.com/bootcamp-jobs-stats Software Engineer Cody Berlin Fullstack Developer Mark Pinero Frontend Developer placed in tech careers 92% 27
  • 28. Link for the third party audit jobs report: https://www.thinkful.com/bootcamp-jobs-stats ...and around the country & world 28
  • 29. Our students receive unprecedented support Learning Mentor Career MentorProgram Manager Local Community You 29
  • 30. Thinkful Two-Week Trial Talk to one of us and email [email protected] to learn more Two-week course with 6 mentor sessions for $50 ($750 value) Start with HTML, CSS and JavaScript Option to continue with full bootcamp Financing & scholarships available Offer valid for one week after event Benjy Schechner Education Advisor 30