✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python
🤑 Join the Treehouse affiliate program and earn 25% recurring commission!
New No-Code Track! 🚀 New videos dropping every week—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:
Consider the following HTML code:
<button type="button" class="close" data-close="modal">
Use an attribute selector to assign an element with a data attribute of data-close to the variable closeBtn:
data-close
closeBtn
var closeBtn = document.querySelector('');
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.