Please i need help on step4 learn typography by building a nutrition

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">
<link rel="stylesheet"  
href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800."/>
  <link rel="stylesheet" type="text/css" href="./styles.css"/>
  <title>Nutrition Label</title>

</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 */

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36

Challenge: Step 4

Link to the challenge:

Hey Buddy! You’ve got most part right. You just made small mistake. Let me show you:

Error:

<link rel="stylesheet" type="text/css" href="./styles.css"/>

Check href value. It shouldn’t include ./ Just write file name there.

Correction:

<link rel="stylesheet" type="text/css" href="styles.css"/>

Hope You got it!
Happy Coding :smiley:

This is what i got after removing the ./ "One of your link elements should have an href attribute set to https://fonts.googleapis.com/css?family=Open+Sans:400,700,800 "

Here remove . from link end, it will work.

got it like this .
Thanks.

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