Add a class selector for ID header-text



 <div class="header">
    <div id="header-text"> <!--Add an id to this div -->

  <div  class="header1"></div><!--Add a class to this div -->


header-text .header {

it is giving error - did you add the id selector


Because if you want to make an id you have to write #id-name, and for the class .class-name :slight_smile:


A post was split to a new topic: I don't get it


Im in trouble too. The exercises ask to add a class selector, but the example is connected to ID Seletor. I tried #header-text {} but doesn't worked. Someone can help me?


I have this trouble too...


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.