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 trialmakacios volenj
88 Pointswhats the problem?
looks like i did almost the same as Guil in the video but get a mistake in the console https://w.trhou.se/hcfrw6dpj4
1 Answer
Steven Parker
231,248 PointsThe Chrome console I'm using pointed directly at the issue:
Uncaught SyntaxError: http://port-80-9tu8a0r7li.treehouse-app.com/app.js: Unexpected token, expected ... (104:19)
102 | diameter={planet.diameter}
103 | moons={planet.moons}
> 104 | desc{planet.desc}
| ^
105 | url={planet.url}
By comparing it with nearby lines, it appears that line 104 is missing a =
character between "desc" and the open brace.
makacios volenj
88 Pointsmakacios volenj
88 Pointsthanks, how could not i noticed it by myself...
Steven Parker
231,248 PointsSteven Parker
231,248 PointsSometimes it just takes another pair of eyes.
Happy coding!