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 trialTammy Lee
2,901 PointsI cannot pass this challenge.
let book = "price" var price = 9.99
let book = "price"
var price = 9.99
1 Answer
Jennifer Nordell
Treehouse TeacherAt some point in there you changed the first line of code you wrote in challenge 1. You weren't supposed to touch it. And price is supposed to be a constant. Take a look at what it wants:
let title = "A Dance with Dragons"
let price = 9.99
Tammy Lee
2,901 PointsTammy Lee
2,901 PointsThanks!