Computer scienceFrontendCSSBasic propertiesWorking with Text

Using Fonts

Google fonts

Report a typo

This task is simple — find a font you like from Google Fonts and connect it to your page using @import. Don't forget to assign the font to body!

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Best font ever!</title>
</head>
<body>
<div class="container">
<p>The most disastrous thing that you can ever learn is your first programming language.</p>
<p class="small">― Alan Kay</p>
</div>
</body>
</html>

Completed 0 of 2
Added import
Added font-family
___

Create a free account to access the full topic