<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nutrition Label</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800">
<link="styles.css">
</head>
<body>
<h1>Nutrition Facts</h1>
<p>8 servings per container</p>
<p>Serving size 2/3 cup (55g)</p>
</body>
</html>
please tell why my self closing link isn’t working because my code cannot pass
Griff
2
Hi!
Please link to the lesson you are doing, it is hard to help without that information.
Griff
4
Right so this link element is the issue
<link="styles.css">
What attribute do links need to work?
Second, it needs the same rel as your other link element.
its the href attribute, i used it as well but it didn’t work
i put this /> and the code didn’t pass
1 Like
Griff
8
Please show me the updated code. I can’t help without seeing your code.
system
Closed
9
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.