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 trialUnsubscribed User
6,269 PointsWhat I did wrong?
Hi, what I did wrong, I copied almost everything from this video and it's not working. https://w.trhou.se/krfx7ziu9h
Remi Vledder
14,144 PointsCan you perhaps replicate the issue you're facing here: https://codesandbox.io/dashboard
That way I can help you with debugging.
2 Answers
Unsubscribed User
6,269 PointsIt is a challenge form Java Arrays and Objects course (The Student Record Search Challenge). I did almost everything like in the video but it is not working. The program suppose to take informations about each student you type in an alert windox and write it on a page.
Tomasz Grodzki
8,130 PointsKod działa dobrze, kilka detali musisz zmienic:
W kilku miejscach zamiast 'answer' masz 'asnwer' W 27 linijce kodu masz błąd ze składnia. Porownanie w JavaScripcie robimy potrójnym znakiem równa się. Ty masz pojedynczy. Pozdro :)
Shumin Zhou
Full Stack JavaScript Techdegree Graduate 32,510 PointsThe problem is seems like on line 35,at this points it's no need print(message),because it's already exists inside the for loop.just try to deleted the print(message) on line 35,it probably will fit the issued
Tomasz Grodzki
8,130 Points35th line isn't the only problem. The problem is also in 27th line - there is a syntax problem with single equal sign. There's also a few typo, in one place he wrote 'answer' and in another place 'asnwer'.
Remi Vledder
14,144 PointsRemi Vledder
14,144 PointsCan you provide more context? Where are you copying it to? And what are you trying to achieve?