Personal Portfolio Webpage - Build a Personal Portfolio Webpage

**Tell us what’s happening:**Please what is the hint for my last line of code that is setting the navbar on top the viewport.
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="styles.css">
    <title>Personal Portfolio Webpage</title>
      <nav id="navbar">
        <a href="#projects">Projects</a>

      <section id="welcome-section">
        <h1>Hey Welcome to HASHCODE technologies</h1>
        <h1>We develop all kinds of website</h1>
      <section id="projects">
        <h1 class="project-tile">These are some of my projects</h1>
      <a id="profile-link" target="_blank"></a>
/* file: styles.css */
* {

body {
@media only screen {

#navbar {

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

i think it should be top: 0 not 0% and position: fixed should work.

Edit: also the navbar should not be in the head element.

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