i don’t understand there is my mistake https://www.codecademy.com/courses/learn-html-css/lessons/ids-classes-divs/exercises/id-selectors?action=lesson_resume&link_content_target=interstitial_lesson
in html i put this
<div class="header" >
<h1>Travel Like Never Before</h1>
<div id="header-text" >
<h2>Whether you're looking for adventure or luxury, let us help you plan your perfect getaway.</h2>
but it keeps saying Did you add the ID selector?
Where is my mistakr?
You shouldn’t create a new CSS rule rather you need to add it to the existing rule…
The rule that’s below the comment:
/* Add the ID selector to this CSS rule */
Notice the block of code doesn’t have a selector so add
#header-text to it
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.