I am not able to understand the issue here of this challenge - https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label
I am on level 6.
I am not able to understand the issue here of this challenge - https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-typography-by-building-a-nutrition-label
I am on level 6.
<!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>
body {
font-family: 'Open Sans', sans-serif;
}
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
What issue are you seeing?
With the code you’ve posted you haven’t completed the task.
Thanks so much for guiding me @Roma . I am very new on the forum here.
I am not understanding the issue/problem statement here -
The message is telling you to use html
as the selector.
What are you using for the selector?
CSS rules have a selector and then within the curly braces there is a property: value;
pair that says what is to be done.
Thanks got it.
I was using p
selector instead of html
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.