Build a Virtual Pet with JavaScript
January 2018
bit.ly/jspet-phx
1
About us
Joe Previte, TA
Digital Marketing Manager, Web Developer
Thinkful Instructor/TA
Dave Hoel, Instructor
Software Developer
Thinkful Graduate
2
About you
What's your name?
What's your goal?
What is your coding background?
3
About Thinkful
We train developers and data scientists
through 1x1 mentorship and project-based
learning.
Guaranteed.Guaranteed.
4
This is what we're making
5
Agenda
Starter code review
Learn key JavaScript concepts
Build your app!
Go over solutions
6
Starter code
bit.ly/virtual-pet-starter-code
7
Defining a variable with JavaScript
var firstVariable = 20
Initialize variable
Name of variable
Value of variable
8
More about variables
9
Introducing our pet "object"
Name
"Thinkpup"
Weight
6
Happiness
0
10
Working with objects
11
Basic functions
12
If, then, else
pet is hungry feed it
go to park
if true
if false
13
Conditionals example
14
Real developers use Google... a lot
15
Let's work on the first step together
bit.ly/tf-virtual-pet
16
Solution
17
Ways to keep learning
18
Thinkful's free course
75+ hours of curriculum for two weeks
HTML, CSS and JavaScript
Unlimited mentor-led Q&A sessions
Personal Program Manager
bit.ly/web-dev-freebit.ly/web-dev-free
Thinkful Coding Prep Course
$1500 FREEFREE
19

Bavpwjs110