Put in order · HTML and CSS course · Module 11: Developer Tools

Steps for adding Google Fonts

Arrange the steps for adding a Google Fonts font to a page:

Items to put in order

  • Add a <link> with the font URL from Google Fonts
  • Use the font in CSS: font-family: 'FontName', serif
  • Add <link rel="preconnect"> to fonts.googleapis.com

You can check the correct answer by solving this task in the CodeWorlds game.