Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Use `for in` to Loop Through an Object's Properties 4:31
- Loop Through an Object's Properties 2 objectives
- Useful JavaScript Object Methods
- Store Objects in Arrays 3:45
- Create an Array of Objects 2 objectives
- Build an Object Challenge 1:17
- Build an Object Challenge – One Solution 3:09
- Display an Array of Objects on the Page – One Solution 7:14
- Review `for in` and Arrays of Objects 6 questions

- 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
In this video, we'll look at one potential solution to this tricky coding challenge!
So, what solution did you come up with? Don't worry if this challenge was a "giant leap" for you - learning to work with objects, data structures, and loops takes time, practice, and patience. If you came up with a different solution, make sure to share it with the community to get some feedback on what you could improve, adjust, or update for future projects!
In this video, we'll look at an advanced solution to the challenge that uses multiple JavaScript files and the insertAdjacentHTML
method to update the content displayed in the browser. If your solution used just one script and the innerHTML
property, that's great! If you want to learn more about insertAdjacentHTML
method, check out the link below!
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
jaylen wakefield
1,752 Points0 Answers
-
Berian Lowe
22,438 Points3 Answers
-
Stephen Drake
784 Points1 Answer
-
Kirok James
Full Stack JavaScript Techdegree Student 876 Points1 Answer
-
PLUS
Stephen Cole
Courses Plus Student 15,810 Points1 Answer
-
Aman Chandolia
2,138 Points1 Answer
-
Sam Yates-Smith
5,295 Points2 Answers
-
Nicolás Melgarejo
15,647 Points0 Answers
-
NAHIMA ABEA
5,728 PointsMy Directory File is not showing up anywhere on my Preview Workspace. Did I miss something on this lesson?
Posted by NAHIMA ABEANAHIMA ABEA
5,728 Points1 Answer
-
pegamoose
16,046 Points1 Answer
-
Julieta Dalla Pozza
4,337 Points1 Answer
-
Elias Hass
10,339 Points1 Answer
-
Ryan Miles
Full Stack JavaScript Techdegree Student 3,261 Points2 Answers
-
Victor Reynaga
5,054 Points1 Answer
-
Rodrigo Paquot
Front End Web Development Techdegree Student 9,908 Points1 Answer
-
i1276
7,626 Points1 Answer
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