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 trial
danielcroft
7,438 PointsRunning the same JS 3 times
I want to use this circular progress bar on my portfolio http://codepen.io/shankarcabus/pen/GzAfb
but if you repeat the html 3 time which i need all the % values will be the same, im not sure what selectors id need to change to have each one individual, such at 1 at 90% 1 at 80% 1 at 70%
Thanks in advance for your help
3 Answers
Colin Marshall
32,861 PointsI think I got it:
Colin Marshall
32,861 PointsSeems like it might be a situation where you need to use the keyword "this" somewhere? Sorry I can't help you further than that.
danielcroft
7,438 PointsOh wow, thanks so much, so it was a "this" thing ^^ Im pretty new to javascript so i know it could be done just didnt know how. But again thanks :)
Colin Marshall
32,861 PointsYup! "This" and "Each"