HTML CODE -
<div class="header">
<div id="header-text"> <!--Add an id to this div -->
</div>
</div>
<div class="header1"></div><!--Add a class to this div -->
CSS CODE -
#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
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?
2 Likes
system
closed
October 15, 2016, 12:20pm
#6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.