Tell us what’s happening:
I typed <h2>
class=“red-text”>CatPhotoApp, and I get class=“red-text”>CatPhotoApp on the screen.
I copy/paste <h2>
class=“red-text”>… from forum, and it works perfectly.
I typed class=“red-text”>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
I copy/paste the exact same thing from the forum, and it works perfectly.
How the hell am I supposed to learn anything if I’m just copying/pasting the correct answer so the site will move me onward?
Your code so far
<style>
h2 {
color: blue;
}
</style>
<h2> class="red-text">CatPhotoApp</h2>
<p> class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element