Equivalent measurement

Report a typo

There are three paragraphs in the code below. Your task is to make the font of the second and third paragraphs the same size as the first. Use cm for the second paragraph and px for the third.

Tip: To convert cm into px, use the following formula and round the value up: 1cm = 96px/2.54

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Equivalent measurement</title>
</head>
<body>
<div>
<p>Strive for progress, not perfection.</p>
<p>Strive for progress, not perfection.</p>
<p>Strive for progress, not perfection.</p>
</div>
</body>
</html>
Completed 2 of 4
The second paragraph has the font-size in centimeters.
The third paragraph has the font-size in pixels.
___

Create a free account to access the full topic