I keep getting the same 2 error messages can anyone teach me ?
The error messages:
Each .nav-link element should link to a corresponding element on the landing page (has an href with a value of another element’s id. e.g. #footer ).
Your Product Landing Page should use CSS Flexbox at least once.
My code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Product Landing Page</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header id="header">
<div class="logo">
<img id="header-img" src="https://www.google.com/search?rlz=1CAGWKK_enUS1062&q=one+piece&tbm=isch&sa=X&ved=2ahUKEwj526PLsO3_AhWmGVkFHQwEBz0Q0pQJegQICxAB&biw=1366&bih=617&dpr=1&surl=1&safe=active&ssui=on#imgrc=klL3O56MWeijDM">
</div>
<nav id="nav-bar">
<a class="nav-link" href="">Portfolio</a>
<a class="nav-link" href="">Projects</a>
<a class="nav-link" href="">About Me</a>
</nav>
<video id="video" src="">
<form id="form" action="https://www.freecodecamp.com/email-submit">
<input id="email" name="email"type="email"placeholder="wsp">
<input id="submit" type="submit">
</header>
</body
</html>
/* file: styles.css */
@media (max-width: 100%) {
.nav-bar {
padding: 2rem;
}
}
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Product Landing Page - Build a Product Landing Page
Link to the challenge: