Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Use CSS Selectors to Style Elements
- // @krishna75688
- <style>
- h2 {
- color: red; // the color should be blue, not red.
- }
- </style>
- <h2>CatPhotoApp</h2>
- <h2 class="red-text" // delete this code line -the h2 style element within the style tag specifies the styling (color)
- // for the h2 element.
- <p>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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement