3. About you
What's your name?
What brought you here today?
What is your programming experience?
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.
4
5. Suggestions for learning
Don't get discouraged, struggle leads to mastery
Don't be shy, take full advantage of our support
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)
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
7
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 Logic
Initial request
Following response
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 les
Application Logic
Initial request
Following response
We'll be writing Javascript, the code
that the browser uses to run the app
10
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
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
12
13. De ning a variable with Javascript
var numberOfSheep = 20var numberOfSheep = 20
Initialize variable
Name of variable
Value of variable
13
15. Declaring a function with Javascript
function greet() {function greet() {
return "Hello world!"; return "Hello world!";
}}
Initialize function Name of function
What the function does
15
21. Parameters within functions
function adder(a, b) {function adder(a, b) {
return a + b; return a + b;
}}
adder(1,2);adder(1,2);
Parameters in declaration
Parameters used
within the function
21
26. Thinkful's free resources
Talk to one of us and email portland@thinkful.com to learn more
Covers HTML, CSS and JavaScript
Unlimited mentor-led Q&A sessions
Personal Program Manager to help you
set goals and navigate resources
bit.ly/dev-free-pdxbit.ly/dev-free-pdx
26