Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Web applications need data! Let's get some to work with.
Snippets
Here's the JSON data used in the video
{
"data": {
"title": "JavaScript Flashcards",
"cards": [
{
"question": "What language are Express apps written in?",
"hint": "It starts with a \"J\"",
"answer": "JavaScript"
},
{
"question": "What is one way a website can store data in a user's browser?",
"hint": "They are delicious with milk",
"answer": "Cookies"
},
{
"question": "What is a common way to shorten the response object's name inside middleware?",
"hint": "It has the same abbreviation as \"resolution\"",
"answer": "res"
},
{
"question": "How many different values can booleans have?",
"hint": "Think: binary",
"answer": "2"
},
{
"question": "Which HTML element can contain JavaScript?",
"hint": "It starts with an \"s\"",
"answer": "<script>"
}
]
}
}
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Mitchell Wintrow
4,380 Points2 Answers
-
William Ray Noble
22,190 Points1 Answer
-
jlampstack
23,932 Points2 Answers
-
Viola Chyu
6,432 Points1 Answer
-
PLUS
Michael Williams
Courses Plus Student 8,059 Points2 Answers
-
Ceil-Ian Maralit
Front End Web Development Techdegree Graduate 19,434 PointsRequest object params property
1 Answer
-
Maria Te
8,521 Points2 Answers
-
benjaminfarnham
8,055 Points2 Answers
-
Sean Flanagan
33,236 Points4 Answers
-
Brian Patterson
19,588 Points2 Answers
-
PLUS
Leonard Morrison
Courses Plus Student 32,914 Points1 Answer
-
Kevin Becerra
14,243 Points1 Answer
-
Akshit Jindal
1,341 Pointswhy const { data }=require('./data/flashcardData.json') doesn't work?
Posted by Akshit JindalAkshit Jindal
1,341 Points2 Answers
-
Brian Foley
8,440 Points3 Answers
-
PLUS
Reid Young
Courses Plus Student 14,209 Points3 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up