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">
  <meta charset="UTF-8">
<link rel="stylesheet"  
  <link rel="stylesheet" type="text/css" href="./styles.css"/>
  <title>Nutrition Label</title>

  <h1>Nutrition Facts</h1>
  <p>8 servings per container</p>
  <p>Serving size 2/3 cup (55g)</p>
/* 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/ 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:


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

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


<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,700,800 "

Here remove . from link end, it will work.

got it like this .

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