SlideShare a Scribd company logo
Intro to Javascript
August 2017
WIFI: In3Guest
Check in to Facebook (or Skip)
http://bit.ly/js-intro-dc
1
Instructor
TJ Stalcup
Lead DC Mentor @ Thinkful
API Evangelist @ WealthEngine
1996 - ????
TAs
bit.ly/js-intro-dcWiFi: In3Guest​
2
About you
What's your name?
What brought you here today?
What is your programming experience?
bit.ly/js-intro-dcWiFi: In3Guest​
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.These workshops are built using this approach.
bit.ly/js-intro-dcWiFi: In3Guest​
4
Suggestions for learning
Don't get discouraged, struggle leads to masterystruggle leads to mastery
Don't be shy, take full advantage of our supporttake full advantage of our support
bit.ly/js-intro-dcWiFi: In3Guest​
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/js-intro-dcWiFi: In3Guest​
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/js-intro-dcWiFi: In3Guest​
7
Client/Servers
Client (sends requests)
Frontend Developer
Manages what user sees
Server (sends response)
Backend Developer
Manages what app does
bit.ly/js-intro-dcWiFi: In3Guest​
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/js-intro-dc
9
WiFi: In3Guest​
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
10
bit.ly/js-intro-dcWiFi: In3Guest​
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/js-intro-dcWiFi: In3Guest​
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/js-intro-dcWiFi: In3Guest​
12
Defining a variable with Javascript
var numberOfSheep = 20
Initialize variable
Name of variable
Value of variable
bit.ly/js-intro-dcWiFi: In3Guest​
13
Variable examples
bit.ly/js-intro-dc
JSBin.com
WiFi: In3Guest​
14
Declaring a function with Javascript
function greet() {
return "Hello world!";
}
Initialize function Name of function
What the function does
bit.ly/js-intro-dcWiFi: In3Guest​
15
Function examples
bit.ly/js-intro-dc
JSBin.com
WiFi: In3Guest​
16
If/Else Statements
go to gas stationkeep driving
if false if true
need gas?
family roadtrip
bit.ly/js-intro-dcWiFi: In3Guest​
17
If/Else Statements
function familyRoadtrip() {
if (needGas == true) {
getGas();
}
else {
keepDriving();
}
}
bit.ly/js-intro-dcWiFi: In3Guest​
18
Comparing Values
== (equal to)
5 == 5 --> true
5 == 6 --> false
!= (not equal to)
5 != 5 --> false
5 != 6 --> true
bit.ly/js-intro-dcWiFi: In3Guest​
19
If/Else Statements and Comparing Values
bit.ly/ js-intro-dc
JSBin.com
WiFi: In3Guest​
20
Parameters within functions
function adder(a, b) {
return a + b;
}
adder(1,2);
Parameters in declaration
Parameters used
within the function
bit.ly/js-intro-dcWiFi: In3Guest​
21
Examples of parameters within functions
bit.ly/ js-intro-dc
JSBin.com
WiFi: In3Guest​
22
Real developers use Google... a lot
bit.ly/js-intro-dcWiFi: In3Guest​
23
Repl.it setup & first steps!
http://bit.ly/tf-intro-js-challenges
bit.ly/js-intro-dcWiFi: In3Guest​
24
Ways to keep learning
More Structure
Less Structure
More SupportLess Support
25
For aspiring developers, bootcamps fill the gap
26
87%87%
job-placement rate + job guarantee
Link for the third party audit jobs report:
https://www.thinkful.com/bootcamp-jobs-statshttps://www.thinkful.com/bootcamp-jobs-stats
Thinkful's track record of getting students jobs
27
Our students receive unprecedented support
Your Mentor
Q&A Sessions
Career CoachSlack
Program Manager
YouYou
Local Community
28
Mentorship enables flexible learning
Learn anywhere,
anytime, & at your own
pace
You don't have to quitYou don't have to quit
your job to startyour job to start
career transitioncareer transition
29
Take a Thinkful tour!
Talk to one of us or email tj@thinkful.comtj@thinkful.com to learn more
Get a tour of Thinkful's
program to see if project-
based, online learning is a
good fit for you
While we're at it, give us
feedback on tonight's
workshop.
30

More Related Content

What's hot (20)

PDF
Intro js-la-jan-4
Thinkful
 
PDF
Intro to js august 31
Thinkful
 
PDF
Thinkful DC FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
PDF
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
PDF
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
PDF
Frontend Crash Course
TJ Stalcup
 
PDF
Thinkful DC - Intro to JavaScript
TJ Stalcup
 
PDF
Frontend Crash Course
Aaron Lamphere
 
PDF
Jsjqwebapp.12.14.17
Thinkful
 
PDF
CV_2016_en
David Hlavati
 
PDF
The Frontend Developer Landscape Explained and the Rise of Advanced Frontend ...
Prasid Pathak
 
PDF
From website to mobile app - a journey
Martin Naumann
 
PDF
Intro to JavaScript - LA - July
Thinkful
 
PDF
website la 11/28
Thinkful
 
PDF
Frontend Crash Coarse 09/28
Ivy Rueb
 
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66-123-168
Thinkful
 
PDF
BYOWHC823
Thinkful
 
PDF
Buildappjsjq10.30 SD
Thinkful
 
PDF
Hinting at a better web
Christian Heilmann
 
PDF
Bwhtmlpdx0809
Thinkful
 
Intro js-la-jan-4
Thinkful
 
Intro to js august 31
Thinkful
 
Thinkful DC FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
Thinkful FrontEnd Crash Course - HTML & CSS
TJ Stalcup
 
Frontend Crash Course
TJ Stalcup
 
Thinkful DC - Intro to JavaScript
TJ Stalcup
 
Frontend Crash Course
Aaron Lamphere
 
Jsjqwebapp.12.14.17
Thinkful
 
CV_2016_en
David Hlavati
 
The Frontend Developer Landscape Explained and the Rise of Advanced Frontend ...
Prasid Pathak
 
From website to mobile app - a journey
Martin Naumann
 
Intro to JavaScript - LA - July
Thinkful
 
website la 11/28
Thinkful
 
Frontend Crash Coarse 09/28
Ivy Rueb
 
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-13-66-123-168
Thinkful
 
BYOWHC823
Thinkful
 
Buildappjsjq10.30 SD
Thinkful
 
Hinting at a better web
Christian Heilmann
 
Bwhtmlpdx0809
Thinkful
 

Similar to Thinkful DC - Intro to JavaScript (20)

PDF
Intro to JavaScript
Aaron Lamphere
 
PDF
Intro to Javascript
TJ Stalcup
 
PDF
Introduction to JavaScript, Washington, DC February 2018
Thinkful
 
PDF
Intro to JavaScript
Aaron Lamphere
 
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
Thinkful
 
PDF
tfIjspdx080717
Thinkful
 
PDF
IJS821
Thinkful
 
PDF
Intro js3.22.18
Jordan Zurowski
 
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
Ivy Rueb
 
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
Justin Ezor
 
PDF
Build a Game with JavaScript - Pasadena July
Thinkful
 
PDF
Intro To JavaScript
Ivy Rueb
 
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
Jordan Zurowski
 
PDF
Introjs1.9.18tf
Thinkful
 
PDF
Intro to js september 19
Thinkful
 
PDF
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-28
Thinkful
 
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
Justin Ezor
 
PDF
Itjsf13
Thinkful
 
PDF
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-454
Justin Ezor
 
PDF
Introjs2.13.18sd
Jordan Zurowski
 
Intro to JavaScript
Aaron Lamphere
 
Intro to Javascript
TJ Stalcup
 
Introduction to JavaScript, Washington, DC February 2018
Thinkful
 
Intro to JavaScript
Aaron Lamphere
 
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14
Thinkful
 
tfIjspdx080717
Thinkful
 
IJS821
Thinkful
 
Intro js3.22.18
Jordan Zurowski
 
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55
Ivy Rueb
 
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-52-74-451
Justin Ezor
 
Build a Game with JavaScript - Pasadena July
Thinkful
 
Intro To JavaScript
Ivy Rueb
 
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78 (12)
Jordan Zurowski
 
Introjs1.9.18tf
Thinkful
 
Intro to js september 19
Thinkful
 
Deck 8983a1d9-68df-4447-8481-3b4fd0de734c-9-28
Thinkful
 
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-55-78-171-219-304-310-388 (1)
Justin Ezor
 
Itjsf13
Thinkful
 
Deck 893ff61f-1fb8-4e15-a379-775dfdbcee77-7-14-454
Justin Ezor
 
Introjs2.13.18sd
Jordan Zurowski
 
Ad

More from TJ Stalcup (20)

PDF
Frontend Crash Course
TJ Stalcup
 
PDF
Intro to Python for Data Science
TJ Stalcup
 
PDF
Intro to Python for Data Science
TJ Stalcup
 
PDF
Build Your Own Website - Intro to HTML & CSS
TJ Stalcup
 
PDF
Intro to Python
TJ Stalcup
 
PDF
Intro to Python
TJ Stalcup
 
PDF
Predict the Oscars using Data Science
TJ Stalcup
 
PDF
Data Science Your Vacation
TJ Stalcup
 
PDF
Data Science Your Vacation
TJ Stalcup
 
PDF
Build a Game with Javascript
TJ Stalcup
 
PDF
Build Your Own Instagram Filters
TJ Stalcup
 
PDF
Choosing a Programming Language
TJ Stalcup
 
PDF
Build a Virtual Pet with JavaScript
TJ Stalcup
 
PDF
DC jQuery App
TJ Stalcup
 
PDF
Thinkful DC - Building a Virtual Pet with JavaScript
TJ Stalcup
 
PDF
Thinkful - Intro to Data Science - Washington DC
TJ Stalcup
 
PDF
Build Your Own Website - Thinkful DC
TJ Stalcup
 
PDF
Build a Game with JavaScript - Thinkful DC
TJ Stalcup
 
PDF
Build a Virtual Pet with JavaScript
TJ Stalcup
 
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
Frontend Crash Course
TJ Stalcup
 
Intro to Python for Data Science
TJ Stalcup
 
Intro to Python for Data Science
TJ Stalcup
 
Build Your Own Website - Intro to HTML & CSS
TJ Stalcup
 
Intro to Python
TJ Stalcup
 
Intro to Python
TJ Stalcup
 
Predict the Oscars using Data Science
TJ Stalcup
 
Data Science Your Vacation
TJ Stalcup
 
Data Science Your Vacation
TJ Stalcup
 
Build a Game with Javascript
TJ Stalcup
 
Build Your Own Instagram Filters
TJ Stalcup
 
Choosing a Programming Language
TJ Stalcup
 
Build a Virtual Pet with JavaScript
TJ Stalcup
 
DC jQuery App
TJ Stalcup
 
Thinkful DC - Building a Virtual Pet with JavaScript
TJ Stalcup
 
Thinkful - Intro to Data Science - Washington DC
TJ Stalcup
 
Build Your Own Website - Thinkful DC
TJ Stalcup
 
Build a Game with JavaScript - Thinkful DC
TJ Stalcup
 
Build a Virtual Pet with JavaScript
TJ Stalcup
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
Ad

Recently uploaded (20)

PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
PDF
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
Next level data operations using Power Automate magic
Andries den Haan
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PDF
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
PDF
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
PPTX
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
PDF
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PDF
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
LLM Search Readiness Audit - Dentsu x SEO Square - June 2025.pdf
Nick Samuel
 
Hello I'm "AI" Your New _________________
Dr. Tathagat Varma
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Next level data operations using Power Automate magic
Andries den Haan
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
Unlocking FME Flow’s Potential: Architecture Design for Modern Enterprises
Safe Software
 
Hyderabad MuleSoft In-Person Meetup (June 21, 2025) Slides
Ravi Tamada
 
The birth and death of Stars - earth and life science
rizellemarieastrolo
 
Practical Applications of AI in Local Government
OnBoard
 
How to Comply With Saudi Arabia’s National Cybersecurity Regulations.pdf
Bluechip Advanced Technologies
 
Java 25 and Beyond - A Roadmap of Innovations
Ana-Maria Mihalceanu
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
Understanding AI Optimization AIO, LLMO, and GEO
CoDigital
 

Thinkful DC - Intro to JavaScript

  • 1. Intro to Javascript August 2017 WIFI: In3Guest Check in to Facebook (or Skip) http://bit.ly/js-intro-dc 1
  • 2. Instructor TJ Stalcup Lead DC Mentor @ Thinkful API Evangelist @ WealthEngine 1996 - ???? TAs bit.ly/js-intro-dcWiFi: In3Guest​ 2
  • 3. About you What's your name? What brought you here today? What is your programming experience? bit.ly/js-intro-dcWiFi: In3Guest​ 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.These workshops are built using this approach. bit.ly/js-intro-dcWiFi: In3Guest​ 4
  • 5. Suggestions for learning Don't get discouraged, struggle leads to masterystruggle leads to mastery Don't be shy, take full advantage of our supporttake full advantage of our support bit.ly/js-intro-dcWiFi: In3Guest​ 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/js-intro-dcWiFi: In3Guest​ 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/js-intro-dcWiFi: In3Guest​ 7
  • 8. Client/Servers Client (sends requests) Frontend Developer Manages what user sees Server (sends response) Backend Developer Manages what app does bit.ly/js-intro-dcWiFi: In3Guest​ 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 bit.ly/js-intro-dc 9 WiFi: In3Guest​
  • 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 LogicApplication Logic Initial requestInitial request Following responseFollowing response We'll be writing Javascript, the code that the browser uses to run the app 10 bit.ly/js-intro-dcWiFi: In3Guest​
  • 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/js-intro-dcWiFi: In3Guest​ 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/js-intro-dcWiFi: In3Guest​ 12
  • 13. Defining a variable with Javascript var numberOfSheep = 20 Initialize variable Name of variable Value of variable bit.ly/js-intro-dcWiFi: In3Guest​ 13
  • 15. Declaring a function with Javascript function greet() { return "Hello world!"; } Initialize function Name of function What the function does bit.ly/js-intro-dcWiFi: In3Guest​ 15
  • 17. If/Else Statements go to gas stationkeep driving if false if true need gas? family roadtrip bit.ly/js-intro-dcWiFi: In3Guest​ 17
  • 18. If/Else Statements function familyRoadtrip() { if (needGas == true) { getGas(); } else { keepDriving(); } } bit.ly/js-intro-dcWiFi: In3Guest​ 18
  • 19. Comparing Values == (equal to) 5 == 5 --> true 5 == 6 --> false != (not equal to) 5 != 5 --> false 5 != 6 --> true bit.ly/js-intro-dcWiFi: In3Guest​ 19
  • 20. If/Else Statements and Comparing Values bit.ly/ js-intro-dc JSBin.com WiFi: In3Guest​ 20
  • 21. Parameters within functions function adder(a, b) { return a + b; } adder(1,2); Parameters in declaration Parameters used within the function bit.ly/js-intro-dcWiFi: In3Guest​ 21
  • 22. Examples of parameters within functions bit.ly/ js-intro-dc JSBin.com WiFi: In3Guest​ 22
  • 23. Real developers use Google... a lot bit.ly/js-intro-dcWiFi: In3Guest​ 23
  • 24. Repl.it setup & first steps! http://bit.ly/tf-intro-js-challenges bit.ly/js-intro-dcWiFi: In3Guest​ 24
  • 25. Ways to keep learning More Structure Less Structure More SupportLess Support 25
  • 26. For aspiring developers, bootcamps fill the gap 26
  • 27. 87%87% job-placement rate + job guarantee Link for the third party audit jobs report: https://www.thinkful.com/bootcamp-jobs-statshttps://www.thinkful.com/bootcamp-jobs-stats Thinkful's track record of getting students jobs 27
  • 28. Our students receive unprecedented support Your Mentor Q&A Sessions Career CoachSlack Program Manager YouYou Local Community 28
  • 29. Mentorship enables flexible learning Learn anywhere, anytime, & at your own pace You don't have to quitYou don't have to quit your job to startyour job to start career transitioncareer transition 29
  • 30. Take a Thinkful tour! Talk to one of us or email [email protected]@thinkful.com to learn more Get a tour of Thinkful's program to see if project- based, online learning is a good fit for you While we're at it, give us feedback on tonight's workshop. 30