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 trialJeremy Rickson
342 PointsQuiz question is unclear.
Question asks me to print name in h2 and age in p.
data: { characters: [ name: 'Dean', age: 39 ] so I use <h2>{{ characters.name }} </h2> and <p>{{ characters.age }}</p>
But this isn't correct. What am I doing wrong here?
3 Answers
Rich Donnellan
Treehouse Moderator 27,696 PointsThis line in the code is important:
<div v-for="character in characters">
That said, you'll need to update your answers to reference a single character
.
Jeremy Rickson
342 PointsHi Rich!
Thanks for the quick response! I did figure it out after retaking the quiz five times! lol :)
Rich Donnellan
Treehouse Moderator 27,696 PointsGreat! It pays to be persistent!
Cheers!
connor aubel
716 Pointscode should look like this <li v-for="character in characters">{{character}}</li>