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.
CSS Selectors
The class selector
Report a typo
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
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.