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 trialGabriel E
8,916 PointsWhat am I doing wrong!?!?
I just can't figure this challenge out.....It's like the easiest one ever too! Could someone just point me in the right direction? Thanks!
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Objects</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
Gabriel E
8,916 PointsI didn't write any. Just look at the challenge and you'll see the task.
2 Answers
Kevin Faust
15,353 Pointsstep 1: create a variable called paris
step 2: assign it to a blank object literal
I don't think I can say it any simpler. solution for reference:
var paris = {};
Gabriel E
8,916 PointsUgh, forgot the = sign. Thanks both of you for your help!
Rune Andreas Nielsen
5,354 PointsHi Gabriel.
You need to make an JavaScript object with a reference poiting to it named "paris".
The way you make a javascript object is by using {};
var paris = Insert the way you make an object here
ThatΒ΄s a hint, write back if you still cannot solve it.
Kevin Faust
15,353 PointsKevin Faust
15,353 Pointsyou didnt post your javascript code