Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Use CSS Selectors to Style Elements
- // @TurkiPSU
- <style>
- // .red-text { this needs to be removed
- // color:red ; this needs to be removed
- // to style an element from the style tags, we need h2 {color: blue;}
- }
- </style>
- // <h2 class="red-text">CatPhotoApp</h2> the h2 element hould only contain the text CatPhotoApp
- // finally, we need to add the p element & enclosed 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement