Build a Virtual Pet with Javascript
November 2017
Wi-Fi Name: Deskhub-main
PW: stake2017!
http://bit.ly/virtual-pet-sd
1
Instructor
Tanner Gill
Thinkful Graduate
React Native Developer
Coffee Nerd
TA's
2
About you
What's your name?
What's your goal?
What is your coding background?
3
About Thinkful
Thinkful helps people become developers or data scientists
through one-on-one mentorship and project-based learning
These workshops are built using this approach.
4
Suggestions for learning
Don't treat this as a drill, we're making something real
Don't get discouraged, struggle leads to mastery
Don't be shy, take full advantage of our support
5
This is what we're making
6
Agenda
Starter code review (5 min)
Learn key Javascript concepts (25 min)
Build your app! (40 min)
Go over solutions (10 min)
Next steps (10 min)
7
Starter code
http://bit.ly/virtual-pet-starter-code
8
Defining a variable with Javascript
var firstVariable = 20
Initialize variable
Name of variable
Value of variable
9
More about variables
10
Introducing our pet "object"
Name
"Thinkpup"
Weight
6
Happiness
0
11
Working with objects
12
Basic functions
13
If, then, else
pet is hungry feed it
go to park
if true
if false
14
Conditionals example
15
Real developers use Google... a lot
16
Let's work on the first step together
http://bit.ly/tf-virtual-pet
17
Solution
18
Ways to keep learning
19
For aspiring developers...
Source: Bureau of Labor Statistics
20
92%92%
job-placement rate in tech roles + job guarantee
Link for the third party audit jobs report:
https://www.thinkful.com/outcomeshttps://www.thinkful.com/outcomes
Thinkful's track record of getting students jobs
21
Our students receive unprecedented support
1-on-1 Learning Mentor
1-on-1 Career MentorProgram Manager
San Diego Community
You
22
1-on-1 mentorship enables flexible learning
Learn anywhere,
anytime, and at your
own schedule
You don't have to quit
your job to start career
transition
23
Thinkful Two-Week Trial
Talk to one of us and email benjy@thinkful.combenjy@thinkful.com to learn more
Two-week course with 4 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
BenjyBenjy SchechnerSchechner
Education Advisor
24

Introjssd113017