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 trialGary Calhoun
10,317 PointsFinally I got it!! HTML / CSS / JavaScript in all its glory:)
Ok wow I had a blast with this one once I finally understood what I was doing:) Take a look at my final for this challenge and let me know what you think. I did want to do span tags but it was throwing error in the console I wanted to assign the colors bronze. silver, and gold.
3 Answers
Iain Simmons
Treehouse Moderator 32,305 PointsIf you want to add span
tags, presumably with a class
attribute, then you just need to either escape the double quotes or use single quotes (because you use double quotes in your document.write
function calls).
Here's mine: http://codepen.io/iainsimmons/pen/vNBpKr
jason chan
31,009 PointsI'm impressed with your javascript. JS is my worst language. LOLs.
Gary Calhoun
10,317 PointsColin Marshall thanks haha no its a 3d challenge not a beer challenge lol thats next week.
Jason Chan thanks it was hard for me but I got it I actually kind of took to javascript better then I thought I would
Colin Marshall
32,861 PointsColin Marshall
32,861 PointsNice job! I was shocked to learn that PBR doesn't stand for Pabst Blue Ribbon ;)