Hi,
I’m working on the last project for the responsive web design, personal portfolio page. I will say upfront I am doing bare minimum to get my feet a little wet here, and I’m failing for this user story,
User Story #10: The height of the welcome section should be equal to the height of the viewport.
Codepen: https://codepen.io/abdullah001/pen/XWNMNQP
Wondering if anyone had advice on what section to review from the modules and/or what to do. Thanks! Here is the code
<!DOCTYPE html>
<style>
@media (max-height: 800px) {
p {
font-size: 10px;
}
}
#navbar {
position: fixed;
top: 0px;
left: 30px;
}
h1 {
padding: 10px;
}
#welcome-section {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 20px;
}
</style>
<html lang="en">
<head>
<title>Personal Portfolio Webpage</title>
<meta charset="utf-8" />
</head>
<body>
<nav id="navbar">
<a href="#projects">Projects</a> |
<a href="https://www.freecodecamp.org/abdullah_31" id="profile-link" target="_blank">Visit My FreeCodeCamp Profile</a>
</nav>
<main>
<section id="welcome-section">
<h1>Welcome to My Portfolio Page</h1>
</section>
<section id="projects">
<header>Technical Documentation Project</header>
<div class="project-tile" >
<a href="technical_documentation_page.html">Check out the doc page</a>
</div>
</section>
</main>
</body>
</html>