Learn Typography by Building a Nutrition Label - Step 5 Excuse me guys wat am I doing wrong on this step

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Nutrition Label</title>
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800" rel="stylesheet">
  <link href="./styles.css" rel="stylesheet">
</head>

<body>
  <h1>Nutrition Facts</h1>
  <p>8 servings per container</p>
  <p>Serving size 2/3 cup (55g)</p>
</body>
</html>
/* file: styles.css */

/* User Editable Region */

body{
 font-family: 'Open Sans',sans-serif; 
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-T515) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Safari/537.36

Challenge Information:

Learn Typography by Building a Nutrition Label - Step 5

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Your code passes for me as is, though I’d change the spacing as I have done here (space after body and before sans-serif), as that is standard and looks tidier.

You could try the following:

  1. Reset the lesson and resubmit the code.
  2. Hard-refresh the page with CTRL+F5.
  3. Ensure that ALL browser extensions are disabled, as they can interfere with the tests.
  4. Try a different browser.

I hope that helps!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.