The class selector

Report a typo

Analyze the HTML code. Find two elements with the same class. Supplement the CSS code so that all written styles can be applied to these two elements.

Write HTML and CSS code
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Selectors</title>
</head>
<body>
<p class="quote">"The only man who never makes mistakes is the man who never does anything."</p>
<pre class="quote"> ― Theodore Roosevelt</pre>
</body>
</html>
Completed 1 of 2
Styles are applied
The code is valid
___

Create a free account to access the full topic