Nav issue - Build a Personal Portfolio Webpage

html issues:

  • Your portfolio should have a navbar with an id of navbar.

  • Your #navbar element should contain at least one a element whose href attribute starts with #.

Your #navbar element should always be at the top of the viewport.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dsleazii Portfolio</title>
   <link rel="stylesheet" href="styles.css">
</head>
<body>
    <header> 
        <nav id="nav-bar">
        <ul class="nav-links">
        <li><a href="#welcome-section" class="nav-link">Welcome</a></li>
        <li><a href="#projects" class="nav-link">Projects</a></li>
        <li><a href="#info" class="nav-link">Info</a></li>
     </ul>
    </nav>
    </header>
    <section id="welcome-section">

not sure what it is, everything else is in place but it messing up the element

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