I have trying to run this test but am finding it hard what could be the problem (using class to style multiple element)

Tell us what’s happening:

Your code so far

.red-text {
  color: red;

< class="red-text">CatPhotoApp</h2>
<p class="red-text</p>
Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://bit.ly/fcc-relaxing-cat" 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="https://freecatphotoapp.com/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 (Linux; Android 8.1.0; itel A16 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36.

Challenge: Style Multiple Elements with a CSS Class

Link to the challenge:

you have deleted the element name

here also you have broken the element: tve closing tag is already present, you just need to add the class in the opening tag. also missing closing quotes

1 Like

Before I could delete the element name I tried running it with the name but I it did not run but let me add and run to see I will still post if it did not run for you to see

I made the correction and it work thank you

Sir I can’t seem to change the font size of element I post the code already

please don’t call me sir
please don’t ping me each time you open a new topic, someone will come along and help you
also, please do not open duplicate topics

1 Like