can any one help me here please? its step 13. HTML project
Your code so far
<!-- file: index.html -->
<main id="main-doc">
<link rel="stylesheet" href="./styles.css">
<nav id="navbar">
<header>Topic</header>
<a class="nav-link" href="#filler_text_1">Filler text1</a>
<a class="nav-link" href="#filler_text_2">Filler text2</a>
<a class="nav-link" href="#filler_text_3">Filler text3</a>
<a class="nav-link" href="#filler_text_4">Filler text4</a>
<a class="nav-link" href="#filler_text_5">Filler text5</a>
</nav>
<section class="main-section" id="filler_text_1">
<header>filler text 1</header>
<p> This is a paragraph 1.</p>
<p> This is a paragraph 2.</p>
<code></code>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</section>
<section class="main-section" id="filler_text_2">
<header>filler text 2</header>
<p> This is a paragraph 3.</p>
<p> This is a paragraph 4.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_3">
<header>filler text 3</header>
<p> This is a paragraph 5.</p>
<p> This is a paragraph 6.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_4">
<header>filler text 4</header>
<p> This is a paragraph 7.</p>
<p> This is a paragraph 8.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_5">
<header>filler text 5</header>
<p> This is a paragraph 9.</p>
<p> This is a paragraph 10.</p>
<code></code>
<li></li>
</section>
</main>
try to move this into the head element and create a body element around the main element.
Then also add the missing html element and the <!DOCTYPE html> to the first line of the code.
can you post the correct code with the boilerplate added and the html tag and the body tag etc all added in correctly? I’d be happy to test the corrections once you have them.
i did few changes as you mention early i hope this time we get teh solution. Thank you for your help in advance.
love and thank you from europe
Your code so far
<!-- file: index.html -->
<!DOCTYPE HTML>
<body>
<main id="main-doc">
</body>
<head>
<link rel="stylesheet" href="./styles.css">
</head>
<nav id="navbar">
<header>Topic</header>
<a class="nav-link" href="#filler_text_1">Filler text1</a>
<a class="nav-link" href="#filler_text_2">Filler text2</a>
<a class="nav-link" href="#filler_text_3">Filler text3</a>
<a class="nav-link" href="#filler_text_4">Filler text4</a>
<a class="nav-link" href="#filler_text_5">Filler text5</a>
</nav>
<section class="main-section" id="filler_text_1">
<header>filler text 1</header>
<p> This is a paragraph 1.</p>
<p> This is a paragraph 2.</p>
<code></code>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</section>
<section class="main-section" id="filler_text_2">
<header>filler text 2</header>
<p> This is a paragraph 3.</p>
<p> This is a paragraph 4.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_3">
<header>filler text 3</header>
<p> This is a paragraph 5.</p>
<p> This is a paragraph 6.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_4">
<header>filler text 4</header>
<p> This is a paragraph 7.</p>
<p> This is a paragraph 8.</p>
<code></code>
<li></li>
</section>
<section class="main-section" id="filler_text_5">
<header>filler text 5</header>
<p> This is a paragraph 9.</p>
<p> This is a paragraph 10.</p>
<code></code>
<li></li>
</section>
</main>
i just saw the duplicate post you made so I merged the new post into the old one (always use one post for all your updates/questions, don’t create a 2nd one)