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 trialOlivia Chu
301 PointsIn this task, declare a variable named rating and assign the value 7.5 my ans: var rating = 7.5
my ans: var rating = 7.5 I can't figure out more "Bummer! Make sure you're declaring a constant named title"
// Enter your code below
var rating = 7.5
2 Answers
Alexandra Barnett
Front End Web Development Techdegree Graduate 46,473 PointsHi Olivia! Do you still have the answer to task 1 there? Your answer is correct but it looks from your code snippet that you've deleted the previous code...code challenges expect the code to be left there which is why I think it's erroring ?.
// Enter your code below
let title = "A Dance with Dragons"
var rating = 7.5
Hope that helps - let me know if you have any questions ???
Olivia Chu
301 PointsYou're right thank you ;)
Olivia Chu
301 PointsOlivia Chu
301 PointsI know the answer added the previous answer
let title = "A Dance with Dragons"
problem solve