Tell us what’s happening:
Hi , please help. This is the personal portfolio. Where do I place my #navbar? It keeps on telling me that it’s wrong. Even with the header tags.
Personal ProjectYour code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css">
<title>Personal Project</title>
</head>
<body>
<nav id="navbar">
<a href="#"></a>
</nav>
<div id="welcome-section">
<h1>Hey I am Karabo</h1>
</div>
<div id="projects">
<a href="#"><section class="project-tile"></section></a>
</div>
<div>
<a target="_blank" id="profile-link"></a>
</div>
</body>
</html>
/* file: styles.css */
@media only screen{
html{
background-color: yellow;
}
#navbar{
display: flex;
justify-content: center;
position: fixed
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Challenge Information:
Personal Portfolio Webpage - Build a Personal Portfolio Webpage