Tell us what’s happening:
Describe your issue in detail here.
No matter what I do I can’t get the " Your portfolio should contain at least one element with a class of project-tile
." check to activate. I’ve tried taking all but the basics and the project-title code out and just trying to run it on its own, but nothing has worked. I’ve been on this one test for three days and I can’t figure out what isn’t working.
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Portfolio</title>
<link rel="stylesheet" href="styles.css" />
<link
href="https://fonts.googleapis.com/css?family=Anton%7CBaskervville%7CRaleway&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
/>
</head>
<body>
<header id="welcome-section">Welcome to The Portfolio of
<h1>Check it out</h1>
</header>
<header id="header">
<nav id="navbar">
<li><a class="nav-link" href="#Pizza">Pizza Survey</a></li>
<li><a class="nav-link" href="#frog">Pet Frog Tribute</a></li>
<li><a class="nav-link" href="#color">Primary Colors Guide</a></li>
<li><a class="nav-link" href="#sand">Sand Toy Product Landing Page</a></li>
</nav>
</header>
<p id=projects>
<h1>Check it out</h1>
<h1 class="project-tile">Pizza Survey<h1>
<p class="Pizza">Pizza Survey</p>
<img src="https://cdn.pixabay.com/photo/2016/06/01/12/59/pizza-1428931__340.png" alt="Pizza clipart">
<a id=profile-link target="_blank" href="https://gardenpenguin.neocities.org/pizza">pizza webpage</a>
</p>
<p class="project-tile">Pet Frog Tribute</p>
<img id="image" src="https://cdn.pixabay.com/photo/2018/08/31/15/16/frog-3644865_960_720.jpg" alt="A Frog" >
<a id=profile-link target="_blank" href="https://gardenpenguin.neocities.org/frog">frog webpage</a>
</p>
<p class="project-tile color">Primary Colors Guide</p>
<img src="https://cdn.pixabay.com/photo/2016/10/14/15/21/colour-wheel-1740381_960_720.jpg" alt="Color wheel">
<a id=profile-link target="_blank" href="https://gardenpenguin.neocities.org/color">color webpage</a>
</p>
<p class="project-tile sand" >Sand Toy Product Landing Page</p>
<img src="https://cdn.pixabay.com/photo/2016/09/02/18/40/sandburg-1639999_640.jpg" alt="a sand sculpture of a turtle">
<a id=profile-link target="_blank" href="https://gardenpenguin.neocities.org/sand">sand webpage</a>
</p>
<a id=profile-link target="_blank" href="https://www.freecodecamp.org/CodePenguin">My Code camp Profile</a>
</p>
</body>
</html>
/* file: styles.css */
html {
color: Navy;
background: linear-gradient(
white,
cyan 20%,
#00Beef 40%,
#0090ff 100%
);
}
header{
color: navy;
background-color:white;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
top: 0;
}
.project-tile{
font-size: 30px;
}
img {
display: block;
margin-right: auto;
max-width: 700px;
max-width: 190px;
height: 150px;
}
@media (min-width: 800px) {
html{
padding: 10px %;
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.58
Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage
Link to the challenge: