Applying attributes

Report a typo

Apply the CSS style to the h1 and button elements using the class attribute with the value salmon_bgcolor.

You don't need to write CSS code, just change the HTML code.

Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Work with CLASS attribute</title>
</head>
<body>
<h1>Product description</h1>
<p>The bicycle has two wheels, steering wheel, seat and pedal.</p>
<img src="https://upload.wikimedia.org/wikipedia/commons/b/b3/Shorter_1980s_bicycle.jpg">
<br>
<button>Wow! I want to buy it!</button>
</body>
</html>
Completed 1 of 3
The <h1> element changed the background color
The button element changed the background color
___

Create a free account to access the full topic