Look at this HTML & CSS. Just based upon reading this code, what will the rendered text look like?
A Pen by Rochelle Lewis on CodePen.
| <div class="callout"> | |
| <h2>This is a Call to Action</h2> | |
| <p>Here is some text here. And this is a link to the <a style="color:red; font-weight: bold;" href="#">Contact Page</a>.</p> | |
| </div> |
| div { | |
| color: black; | |
| font-family: sans-serif; | |
| } | |
| .callout { | |
| color: purple; | |
| text-align: center; | |
| } | |
| .callout h2 { | |
| color: green; | |
| font-family: sans-serif; | |
| } | |
| h2 { | |
| color: red; | |
| } | |
| p { | |
| font-style: italic; | |
| } |
Look at this HTML & CSS. Just based upon reading this code, what will the rendered text look like?
A Pen by Rochelle Lewis on CodePen.