✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
🤑 Join the Treehouse affiliate program and earn 25% recurring commission!
New No-Code Track! 🚀start learning today!
🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀
Please fill in the correct answer in each blank provided below.
Fill in the blank(s) below:
In the blanks below, use a Vue directive to show or hide the span element based on the value of catOfTheWeek.
new Vue({ el: '#app', data: { title: 'Emperor', firstName: 'Meowingham', votes: 3023, catOfTheWeek: true } });
<div id="app"> <h2>{{ title + ' ' + firstName}}</h2> <span ="">Cat of the Week!</span> </div>
There was an error while reporting the question. Please try again, or contact support directly.
Describe the issue (optional) (required)
Your feedback has been submitted. Thank you!
If you continue experiencing problems, please contact support at help@teamtreehouse.com.
Quizzes are the best way to test your knowlege. Sign up for Treehouse today and prove yourself. We guarantee 100% satisfaction.