SlideShare a Scribd company logo
Intro to JavaScript: Fundamentals
January 2018
http://bit.ly/introjs-sd
Wifi: Deskhub-main PW: stake2017!
1
Instructor
Tanner Gill
Software Developer - Shapa
Thinkful Graduate
TAs
bit.ly/introjs-sd
2
About you
What's your name?
What brought you here today?
What is your programming experience?
bit.ly/introjs-sd
3
About Thinkful
We train developers and data scientists
through 1x1 mentorship and project-based
learning.
Guaranteed.Guaranteed.
4
Agenda
Learn key Javascript concepts
Go over assignments
Complete assignments with our support!
Go over answer key
5
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/introjs-sd
6
Client/Servers
Client (sends requests)
Frontend Developer
Manages what user sees
Server (sends response)
Backend Developer
Manages what app does
bit.ly/introjs-sd
7
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 LogicApplication Logic
Initial requestInitial request
Following responseFollowing response
bit.ly/introjs-sd
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 LogicApplication Logic
Initial requestInitial request
Following responseFollowing response
We'll be writing Javascript, the code
that the browser uses to run the app
9
bit.ly/introjs-sd
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/introjs-sd
10
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/introjs-sd
11
Defining a variable with Javascript
var numberOfSheep = 20
Initialize variable
Name of variable
Value of variable
bit.ly/introjs-sd
12
Variable examples
bit.ly/introjs-sd
13
Declaring a function with Javascript
function greet() {
return "Hello world!";
}
Initialize function Name of function
What the function does
bit.ly/introjs-sd
14
Function examples
bit.ly/tf-intro-js
15
If/Else Statements
go to gas stationkeep driving
if false if true
need gas?
family roadtrip
bit.ly/introjs-sd
16
If/Else Statements
function familyRoadtrip() {
if (needGas == true) {
getGas();
}
else {
keepDriving();
}
}
bit.ly/introjs-sd
17
Comparing Values
== (equal to)
5 == 5 --> true
5 == 6 --> false
!= (not equal to)
5 != 5 --> false
5 != 6 --> true
bit.ly/introjs-sd
18
If/Else Statements and Comparing Values
bit.ly/introjs-sd
19
Parameters within functions
function adder(a, b) {
return a + b;
}
adder(1,2);
Parameters in declaration
Parameters used
within the function
bit.ly/introjs-sd
20
Examples of parameters within functions
bit.ly/introjs-sd
21
Real developers use Google... a lot
bit.ly/introjs-sd
22
Repl.it setup & first steps!
http://bit.ly/tf-intro-js-challenges
bit.ly/introjs-sd
23
Ways to keep learning
24
Thinkful's free course
HTML, CSS and JavaScript
Unlimited group mentor sessions
Personal Program Manager
Slack Channel
bit.ly/web-dev-freebit.ly/web-dev-free
Thinkful Coding Prep Course
25

More Related Content

PDF
Introjs2.13.18sd
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
PDF
Intro js3.22.18
PDF
Intro to JavaScript
PDF
Introjscb112817
PDF
tfIjspdx080717
PDF
Ijsphx927
PDF
Itjsf13
Introjs2.13.18sd
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
Intro js3.22.18
Intro to JavaScript
Introjscb112817
tfIjspdx080717
Ijsphx927
Itjsf13

What's hot (8)

PDF
Intro to Javascript
PDF
Full-Stack Development
PPT
Codeigniter
PPSX
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
PDF
PDF
Easy form creation and validation with Formjack
PDF
How To be a Backend developer
PPTX
Javascript testing IAD2010
Intro to Javascript
Full-Stack Development
Codeigniter
0025 todo lo_que_queria_saber_de_html5_y_no_se_animaba_a_preguntar
Easy form creation and validation with Formjack
How To be a Backend developer
Javascript testing IAD2010
Ad

Similar to Introjs1.9.18tf (20)

PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
PDF
Introjssd 11.8.17
PDF
Itjsf13
PDF
Itjsf129
PDF
PDF
Introjs10.5.17SD
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-454
PDF
(LA 1/16/18) Intro to JavaScript: Fundamentals
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
PDF
Itjsf49
PDF
1/16/18 Intro to JS Workshop
PDF
LA 1/16/18 Intro to Javascript: Fundamentals
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
PDF
Itjs124
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
PDF
Intro to JavaScript
PDF
Thinkful DC - Intro to JavaScript
PDF
Intro To JavaScript
PDF
Itjs111
PDF
Intro to JavaScript: FUNdamentals (3/7/18)
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
Introjssd 11.8.17
Itjsf13
Itjsf129
Introjs10.5.17SD
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-454
(LA 1/16/18) Intro to JavaScript: Fundamentals
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
Itjsf49
1/16/18 Intro to JS Workshop
LA 1/16/18 Intro to Javascript: Fundamentals
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
Itjs124
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
Intro to JavaScript
Thinkful DC - Intro to JavaScript
Intro To JavaScript
Itjs111
Intro to JavaScript: FUNdamentals (3/7/18)
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
Websitesd1.15.17.
PDF
Bavpwjs110
PDF
Byowwhc110
PDF
Getting started-jan-9-2018
PDF
Proglangauage1.10.18
PDF
Batbwjs14
PDF
Jsgame1418sd
PDF
Web app-la-jan-2
PDF
Intro js-la-jan-4
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
Websitesd1.15.17.
Bavpwjs110
Byowwhc110
Getting started-jan-9-2018
Proglangauage1.10.18
Batbwjs14
Jsgame1418sd
Web app-la-jan-2
Intro js-la-jan-4

Recently uploaded (20)

PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Big Data Technologies - Introduction.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Network Security Unit 5.pdf for BCA BBA.
Spectroscopy.pptx food analysis technology
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
NewMind AI Weekly Chronicles - August'25 Week I
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Big Data Technologies - Introduction.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Diabetes mellitus diagnosis method based random forest with bat algorithm
Advanced methodologies resolving dimensionality complications for autism neur...
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx

Introjs1.9.18tf

  • 1. Intro to JavaScript: Fundamentals January 2018 http://bit.ly/introjs-sd Wifi: Deskhub-main PW: stake2017! 1
  • 2. Instructor Tanner Gill Software Developer - Shapa Thinkful Graduate TAs bit.ly/introjs-sd 2
  • 3. About you What's your name? What brought you here today? What is your programming experience? bit.ly/introjs-sd 3
  • 4. About Thinkful We train developers and data scientists through 1x1 mentorship and project-based learning. Guaranteed.Guaranteed. 4
  • 5. Agenda Learn key Javascript concepts Go over assignments Complete assignments with our support! Go over answer key 5
  • 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/introjs-sd 6
  • 7. Client/Servers Client (sends requests) Frontend Developer Manages what user sees Server (sends response) Backend Developer Manages what app does bit.ly/introjs-sd 7
  • 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 LogicApplication Logic Initial requestInitial request Following responseFollowing response bit.ly/introjs-sd 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 LogicApplication Logic Initial requestInitial request Following responseFollowing response We'll be writing Javascript, the code that the browser uses to run the app 9 bit.ly/introjs-sd
  • 10. 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/introjs-sd 10
  • 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/introjs-sd 11
  • 12. Defining a variable with Javascript var numberOfSheep = 20 Initialize variable Name of variable Value of variable bit.ly/introjs-sd 12
  • 14. Declaring a function with Javascript function greet() { return "Hello world!"; } Initialize function Name of function What the function does bit.ly/introjs-sd 14
  • 16. If/Else Statements go to gas stationkeep driving if false if true need gas? family roadtrip bit.ly/introjs-sd 16
  • 17. If/Else Statements function familyRoadtrip() { if (needGas == true) { getGas(); } else { keepDriving(); } } bit.ly/introjs-sd 17
  • 18. Comparing Values == (equal to) 5 == 5 --> true 5 == 6 --> false != (not equal to) 5 != 5 --> false 5 != 6 --> true bit.ly/introjs-sd 18
  • 19. If/Else Statements and Comparing Values bit.ly/introjs-sd 19
  • 20. Parameters within functions function adder(a, b) { return a + b; } adder(1,2); Parameters in declaration Parameters used within the function bit.ly/introjs-sd 20
  • 21. Examples of parameters within functions bit.ly/introjs-sd 21
  • 22. Real developers use Google... a lot bit.ly/introjs-sd 22
  • 23. Repl.it setup & first steps! http://bit.ly/tf-intro-js-challenges bit.ly/introjs-sd 23
  • 24. Ways to keep learning 24
  • 25. Thinkful's free course HTML, CSS and JavaScript Unlimited group mentor sessions Personal Program Manager Slack Channel bit.ly/web-dev-freebit.ly/web-dev-free Thinkful Coding Prep Course 25