Pls, help me out. (Use CSS Selectors to Style Elements)

pls, someone should help…After I followed the instructions. I changed the code this way but yet it turned error. its not changing to blue… i cant procede.

h2 {color: blue;}

Check that in html section did you use h2 tag ?

i did but still not working

can your share me your Error or screen or even code …so i can help you above code is fine

What browser are you using?
What type of device are you using?
Can you please share your full code?

below are my full codes; @Gunjan, @ArielLeslie … am using Hp Laptop with Chrome Browser.

  h2 {color: blue;}
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  <a href="#"><img src="" alt="A cute orange cat lying on its back."></a>
    <p>Things cats love:</p>
      <li>cat nip</li>
      <li>laser pointers</li>
    <p>Top 3 things cats hate:</p>
      <li>flea treatment</li>
      <li>other cats</li>
  <form action="/submit-cat-photo">
    <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
    <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
    <label><input type="checkbox" name="personality" checked> Loving</label>
    <label><input type="checkbox" name="personality"> Lazy</label>
    <label><input type="checkbox" name="personality"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>

@femi1, it looks like you deleted the entire <h2> line along with the style attribute that was in that line. And you also deleted the <main> element.

Click on the Reset All Code button and start over.

OMG… Youre my saviour @Roma i shouldnt have deleted all the attributes. it asked me to delete just the style attribute. thanks. its ok now

1 Like

Good deal. Glad to help. Mark it as solved and continue your journey.
Happy coding!

1 Like