Learn Typography by Building a Nutrition Label - Step 26

Tell us what’s happening:
Describe your issue in detail here. I am ask to create a New div and set the attribute to divider. I am confused I don’t know may be I am having semantic problem here("give it a valu"and “set the attribute to”)

Step 26

Create a new div element below your header element, and give it a class attribute set to divider lg.

  **Your code so far**
  <!DOCTYPE html>
Nutrition Label

Nutrition Facts

8 servings per container

Serving size 2/3 cup (55g)

```html /* file: index.html */ Nutrition Label

Nutrition Facts

8 servings per container

Serving size 2/3 cup (55g)

```
/* file: styles.css */
* {
box-sizing: border-box;
}

html {
font-size: 16px;
}

body {
font-family: 'Open Sans', sans-serif;
}

.label {
border: 2px solid black;
width: 270px;
margin: 20px auto;
padding: 0 7px;
}

header h1 {
text-align: center;
margin: -4px 0;
letter-spacing: 0.15px
}

p {
margin: 0;
}

.divider {
border-bottom: 1px solid #888989;
margin: 2px 0;
}

.bold {
font-weight: 800;
}

.right {
float: right;
}
  **Your browser information:**

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

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

Link to the challenge:

You didnt add your html code so we can easily spot out the error…

the syntax for elements and attributes in html is

<element attribute="value"></element>

And you’ve been doing it previously.
just like you did when you created the div element with class of label

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