First step,changing color :

Tell us what’s happening:

Your code so far

<h2> style;="color:red;">CatPhotoApp</h2>\<main>
<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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0.

Challenge: Change the Color of Text

Link to the challenge:

Hello Ariel, a semi-colon adds a break in your code and should only be included at the end of lines, especially in html, putting it after “style” stops your computer from running “=color:red”, so try removing the semi-colon and see what happens. Goodluck :slightly_smiling_face:


You have done wrong here.

<h2> style;="color:red;">CatPhotoApp</h2>\

The correct way of styling is:

<h2 style="color:red;">CatPhotoApp</h2>

I hope it should work now.

1 Like

Hello everybody !
I am here back to code how do i continue with the programs ? where i can see my truck and the next level to learn ? Thanks Have a great day ! :slight_smile: