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 trialRODRIGO MARTINEZ
5,912 PointsCant'find the right answer. What i am doing wrong? Here goes my code:
Cant'find the right answer. What i am doing wrong? Here goes my code:
const studentinfo = document.querySelectorAll("#student-info");
2 Answers
KRIS NIKOLAISEN
54,971 Pointsstudent-info is a class so you will want to precede it with a period.
document.querySelectorAll(".student-info")
RODRIGO MARTINEZ
5,912 PointsIT worked perfectly. Thanks a lot.
Antonio Sanchez
3,648 PointsAntonio Sanchez
3,648 PointsHonestly these test are very frustrating because they are very particular on the test question it took me 20 min of wasted time just because the code I was putting ended with " ; ". Which during the whole course was appropriate but for the quiz it wasn't. Most of my time goes to these quizzes and trying to figure it out because I want to make sure I'm coding correctly but it seems whats being taught is not consistent with the quizzes.