Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialHeath Hughes
19,766 PointsHow I did it
I originally added this post in the general forum by mistake, so I'm reposting here:
I also didn't use quiz_ui.js.
Here's a Code Pen of my code with all the JavaScript together: http://codepen.io/heathwhughes/pen/qqBvYe/
I would appreciate some feedback. It works, but is it good form?
Caleb Rutherford
7,431 PointsCaleb Rutherford
7,431 PointsI'm no expert, but I believe one of the instructors (or somebody) said something to the effect of "Get it working, then you can fix it up later."
Your code looks good to me. I've been struggling with this (though I'm happy to see that I'm on the right track, comparing mine to yours), but you went and coded in everything, including the headers and whatnot. Truthfully, I think I'd do better if I was given a blank slate instead of things being done part way for me. My brain just tends to connect the dots better that way. Sounds silly...but it's just how I operate, I guess. haha
I like your method, though. Edit everything JS and make it totally yours. Your code isn't bloated or excessive (in my amateur opinion), and it's easy to add questions. I'd say it's great form, myself.