This document outlines an introductory workshop on JavaScript. It introduces the instructor and TAs, discusses Thinkful's approach to learning, and covers key JavaScript concepts like variables, functions, if/else statements, and parameters. The agenda includes learning JavaScript concepts, completing assignments with support, and reviewing answers. It also provides context on the history and modern use of JavaScript, and how the web works with clients and servers. Suggestions are given for continuing to learn JavaScript after the workshop.
3. About you
What's your name?
What brought you here today?
What is your programming experience?
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 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/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 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/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 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/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 6
7. How the web works
Type a URL from a client (e.g. google.com)ā
Browser sends an HTTP request asking for speciļ¬c ļ¬les
Browser receives those ļ¬les and renders them as a website
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 7
8. Client/Servers
Client (sends requests)
Frontend Developer
Manages what user sees
Server (sends response)
Backend Developer
Manages what app does
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 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 ļ¬les
Application LogicApplication Logic
Initial requestInitial request
Following responseFollowing response
bit.ly/tf-intro-js
9
Wi-Fi: IgniteHQ
Pass: ignitehq
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 ļ¬les
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/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq
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/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 11
12. Javascript today
Has large community of developers, libraries and
frameworks
Lots of job opportunities
Also the syntax is easier to understand for ļ¬rst-time
developers
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 12
13. Deļ¬ning a variable with Javascript
var numberOfSheep = 20
Initialize variable
Name of variable
Value of variable
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 13
15. Declaring a function with Javascript
function greet() {
return "Hello world!";
}
Initialize function Name of function
What the function does
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 15
21. Parameters within functions
function adder(a, b) {
return a + b;
}
adder(1,2);
Parameters in declaration
Parameters used
within the function
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 21
22. Examples of parameters within functions
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 22
23. Real developers use Google... a lot
bit.ly/tf-intro-js
Wi-Fi: IgniteHQ
Pass: ignitehq 23
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 ļ¬exible 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. Thinkful Two-Week Trial
Talk to one of us and email jasjit@thinkful.comjasjit@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 eventOffer valid for one week after event
Jasjit SinghJasjit Singh
GM, Atlanta
30