0

Where's the problem?Why the header color isn't changing?

HTML <div class="Header""> <h1> <b>Blogger</b>Sanjid </h1> </div> CSS div .Header{ color: green; }

21st Aug 2018, 6:28 AM
Sanjid Hossain
Sanjid Hossain - avatar
1 Respuesta
+ 2
That's because your CSS selector is incorrect. You are selecting all .Header elements inside all div elements. Remove the 'div' at the start. Like this: https://code.sololearn.com/WlM93rby5Hgd/?ref=app
21st Aug 2018, 6:44 AM
Jonathan Pizarra (JS Challenger)
Jonathan Pizarra (JS Challenger) - avatar