Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
David Clausen11,403 Points
Awesome Quiz: Share how you did your project!
Share how you all did your project. You can take a snapshot of your project when you open it from workspaces in the top-right corner, and share the resulting link.
Fork a snapshot to get it on your workspace and preview it!
I think this will be great to see how others did it, ask for critique or someone can look at our examples for some hints too!
Nathaniel Nasarow10,291 Points
This was quite a tough one for me. I did about half of the program before I got stuck, then started doing some MDN and googling and trying a few things before I moved on to the next video.
So the majority of my code I ended up deleting and using Andrew's code for quite a bit of the program. I was originally using modified code from previous projects, but Andrew's code made a lot more sense and made things simpler over-all. Nevertheless, I did learn quite a bit more about prototyping and inheritance, and especially about putting the questions into the HTML and moving from one question to the next.
I'll be keeping this code to use as a reference for future projects.
Cool to share your code buddies ! I'haven't got the time to check your projects yet, but I'll as soon as possible, to see how I could have managed this differently.
However here is my little project : https://w.trhou.se/ozn1fby15l I just 've finished it, the code might probably be cleaner but I'm happy with it for now.
Finally, I would really want to thank Andrew Chalkley for this course, the explainations were very clear and you succeeded in teaching essentials informations without confusing me, that was the perfect course for the experience I have.
I just hope to be able to code as elegantly as Andrew does, as soon as possible :p !
Ran Yehushua5,908 Points
My route was a little different than Andrew's but I'm really glad I worked through it, what I learned on this course feels very tangible as a result. My biggest issue was that I kept looking for a way to use a loop to cycle through the program (like we did on the project in Dave's course where the user is asked questions via prompt). Once the idea of resetting the questions and upping the score and index from within a quiz_ui method hit me, it all made sense.
Here is a snapshot of my workspace: https://w.trhou.se/f98tib2xgn