Learn Typography by Building a Nutrition Label - Step 4

Tell us what’s happening:
Hello! I hope I’m an asking this correctly, but I keep receiving this message “ One of your link elements should have an href attribute set to ./styles.css.” and I’m not sure what else I need to add to the link to move on. Please let me know, thank you.

Your code so far

/* file: index.Ext.html */

<!DOCTYPE html>
<html lang="en">

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

<body>
  <h1>Nutrition Facts</h1>
  <p>8 servings per container</p>
  <p>Serving size 2/3 cup (55g)</p>
</body>
</html>

/* file: styles.Ext.css */

Your mobile information:

iPhone - iOS17.5.1

Challenge: Learn Typography by Building a Nutrition Label - Step 4

Link to the challenge:

2 Likes

Hello,
I copied your code and it passes the test successfully, I suggest you reset the lesson and try again or try another browser

2 Likes

Ok I will try, thank you for checking.

2 Likes