Tell us what’s happening:
-
Your portfolio should contain at least one element with a class of
project-tile
. -
Your portfolio should use at least one media query.
-
Your
#navbar
element should always be at the top of the viewport.
Your code so far
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Personal Portfolio</title>
<link rel="stylesheet" href="styles.css">
</head>
<main>
<header>
<img class="header-img" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAABECAMAAABqM7snAAAAgVBMVEX///8AAACrq6u0tLTMzMxnZ2dZWVno6OjGxsagoKAvLy9wcHAjIyNaWlo2Njbx8fGKiooODg6BgYG+vr7s7Ow9PT34+Piampri4uKurq65ubnV1dWlpaV1dXXc3NyTk5McHBxFRUVQUFCFhYVycnIXFxczMzOOjo4LCwspKSlMTExefeYMAAAQXElEQVR4nO1dbWOyvA5WkYlOxaGi4ru7ndv+/w880hdI2qRUZc49x3xSKG2SXk3TpJRGA1EcJIfdZ/M4fZ21G/+fNJk217/Nw30pPR370U01bJvDlut+J2xCSuKbWvujNDhL7tTSf43aorNvruFjwt4PmiZltzT3E9TJRq/7r92uPw1HGS/JLZTL/XpLBWcew6nk8TR+/LEpe/3jlipiiZa5swVMi1vaq5vi2Q5z11ul9beSVxxe/XS8NXh0zxG/T4EbFDlVK9lZSUerYhquw73+s7mS3x+gEwH85qz2Zm4C1ojisVsnezVTJFl0OtRf1VPDVlZD2ueBslEKn22Jrf0VzP4ITb6oPjvb8LonmxuA1enTPE5/wLDWQ3MPXDV6HuZFjqg+cWci7hyBCl4qbeQdaVJ2U28QhuG0+PtZM7KuB9bc4HFY/N09KLJSyV7FkvCrskRDI+tg32hZMJJ6ehAX4ShVcJwVHMbZQXVivS1dDaxUo6hb8DgJvpuPZfgxyVlpXFHKA3tnSkRdI+v6q61QYbK2lzD6YyS5Nj0quVCumcWrgfUquTE8qoi8+hgkrcyqolTqMVvmNKCtn5hbAnQpexhgqYWFFf1QE2StE821wJoz04rivQbO6iY5LiujwUspQLWf1SM7Q1xc2tceIpQlDda7fWN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Cd+Nqt1MX53hxH/sdF5az31KphXGpzWL/vpd5h02/ym7flCfNpaVDhdd3n9trcHhZl+2JUTW27N7Qc2LSiM+8upm2CkeFw5eIy2Ye/4+fn2NTjBkNByNpJOQB6+ADfyPgOj4+wkf2keNLCEPAMlzy5cuZdiro96iHvsrsUmm96Qc6ipm/gnvn2Wxmfyqdi74CWN+9VntByzx0D/BI88dcYIGWkbd1j5DwBLFPTkUg4UWtYcIZyZmbD5a+nX+KTznvQXyACWL0mXjj78MWaNmQjA0MevqdXk5Zw86THpSmCp9Rg9q7X5PaJ9Ljq+F/VVff3wSX+GrgWWfG+VSfotuMO6M86rl6tsj4NNn/RH6GpgqfQmnfVbMde5TREqYfegHyl+0hV0NbB0zI924AMyjhQyC0L1OmmdXzV60i/T9cDSyX0aWW3CXQqYtaLC1U3H7TzpwegGYOnEOR3yiq1oXYexSCqBQn+t4El/lG4Bln4j5+LvviFSaRmPj4k96Q/RLcDSW9huW8zJOq7m4UmPSTcBy/5yweXUdoRan/R36TZgNeLhragQIffH+Cz9k2ok9MLaNbTYh7f5WMtD+Iwz/PcoX+p7ndrzpCddRKvQ8wucd6T/Aap23g5SABhUAAAAAElFTkSuQmCC" alt="Freecodecamp.com logo">
<p class="header-name">FreeCodeCamp Exclusive Portfolio</p>
<nav id="navbar">
<ul>
<li><a href="www.freecodecamp">Home</a></li>
<li>Project <a href="#project1">1</a></li>
<li>Project <a href="#project2">2</a></li>
<li>Project <a href="#project3">3</a></li>
</ul>
</nav>
</header>
<body>
<div class="welcome-tile">
<section id="welcome-section">
<h1>My Portfolio</h1>
<p>As a Web Developer</p>
<p><a id="profile-link" href="https://www.freecodecamp.org/learn/full-stack-developer/" target="_blank">My Full Portfolio</p>
</section>
</div>
<div class="project-tile">
<section id="project-section">
<h2>Projects</h2>
<p>Some of my most recent and notable projects</p>
<div id="project1">
<h3 class="project-title">Project #1</h3>
<img id="pi" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQpZJq08f_B8pAoxfBadyRr8oNm82SuA2entQ&s" alt="backdrop of tech-style square line design">
<a id="pjl" target="_blank" href="www.freecodecamp.org">Project on website design and layout</a>
</div>
<div id="project2">
<h3 class="project-title">Project #2</h3>
<img id="pi" src="https://image.slidesdocs.com/responsive-images/background/simulated-desktop-and-monitors-with-color-computer-design-%E2%80%93-powerpoint-background_cd014fcb32__960_540.jpg" alt="AI generated computer with speaker sound waves">
<a id="pjl" href="www.freecodecamp.org" target="_blank">Project on CSS graphic design and animation</a>
</div>
<div id="project3">
<h3 class="project-title">Project #3</h3>
<img id="pi" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTw20x0jcWfegEHr3o9ipjnSMAr9YaUu2TWUw&s" alt="zoomed in picture of the details on a computer microchip">
<a id="pjl" href="www.freecodecamp.org">Project of navigational page</a>
</div>
</section>
</div>
<div ></div>
</body>
</main>
</html>
html {
width: 100%;
height: 100vh;
margin: 0;
overflow-x: hidden;
}
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
header {
display: block;
background-color: grey;
top: 0;
left: 0;
width: 100%;
position: fixed;
height: 80px;
}
.header-img {
width: 25vw;
max-width: 180px;
margin-right: -65px;
display: inline-block;
vertical-align: top;
opacity: 50%;
}
.header-name {
display: inline-block;
margin-left: 70px;
margin-top: 0;
font-size: minmax(2.8vw, 20px);
vertical-align: top;
text-align: center;
}
#navbar {
display: inline-block;
vertical-align: top;
margin-top: -15px;
margin-right: 25px;
float: right;
}
#navbar ul {
list-style: none;
}
#welcome-section, #project-section {
text-align: center;
height: 100vh;
margin: auto 0;
}
#welcome-section {
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.welcome-tile {
background-color: rgb(184, 68, 68);
width: 100%;
height: 100vh;
}
#pi {
display: block;
margin: 0 auto;
width: 300px;
}
#project-section {
margin: 0 0 0 0;
padding: 0;
border: 2px solid yellow;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.project-tile {
background-color: rgb(192, 106, 106);
width: 100%;
min-height: 200vh;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: flex-start;
box-sizing: border-box;
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Challenge Information:
Build a Personal Portfolio - Build a Personal Portfolio