Task 5: CSS Styling
Task description: Write HTML and CSS to make a simple layout and style it.
What you must include
- One HTML element with a class (e.g.
<div class="card">) - One CSS rule targeting a class or element selector
- A CSS property that changes the appearance (e.g.
color,background,padding) - No inline styles (use CSS only)
Example topic
You could create a styled card, a simple navigation bar, or a highlighted text box.
Instructions
- Open your HTML and CSS files in your code editor.
- Write your HTML and CSS.
- Copy your HTML code and paste it into the HTML box below.
- Copy your CSS code and paste it into the CSS box below.
- Click Check My Code.
- Fix any errors and try again.
Paste your HTML code below
Paste your CSS code below
Your results will appear after you click the button.