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 trial

JavaScript Practice Vue.js Templating: Challenge

Caree Youngman
Caree Youngman
2,618 Points

Alt property is called for but never used, not present in the solution

This code challenge appears to have an inconsistency, we are instructed to make an alt data property on vue instance, but it is never used and is completely absent in the solution provided.

1 Answer

sergio alvarez
sergio alvarez
15,205 Points

Hi, Caree,

I didn't notice but you were supposed to update the ALT value of the image:

      <div><img v-bind:src="thumbnail" v-bind:alt="alt"></div>
      <div class="post-info">
        <h3>{{title}}</h3>
        <p>{{summary}}</p>
      </div>

hope it helps