html issues:
- Your portfolio should have a navbar with an
id
ofnavbar
. - Your
#navbar
element should contain at least onea
element whosehref
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">
<h1>Hello Im Dsleazii.</h1>
<p> Front-end web developer</p>
</section>
everything looks fine not sure what wrong with my nav element