My Code So Far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head><style>#ageConfirm, #guidanceFooter { display: none !important; }</style>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylehseet" href="styles.css">
</head>
<body>
<nav id="navbar">
<ul>
<li><a href="#projects">Projects</a></li>
<li><a href="#contact" class=>Contact Me</a></li>
</ul>
</nav>
<section id="welcome-section">
<h1>Welcome</h1>
</section>
<section id="projects">
<h2 class="project-title">Projects</h2>
<a href="https://www.freecodecamp.org/fcc634098f5-46d5-4f12-82dc-54b54e09801b">check out my Projects</a>
</section>
<section id="contact">
<p>Email me!</p>
<a href="https://www.freecodecamp.org/fcc634098f5-46d5-4f12-82dc-54b54e09801b" id="profile-link" target="_blank">Check Out My FCC Profile</a>
</section>
</body>
</html>
/* file: styles.css */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
background-color: #24252a;
}
nav li {
display: inline-block;
top: 0;
}
/* For smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
background: grey;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0
Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage
Link to the challenge:
I’m just trying to handle the last failing test, whic is " Your portfolio should contain at least one element with a class of project-tile
."
I have an h2 with a class of project-title, so not sure why it’s flunking.