I have written and re-written this piece of code multiple times and nothing. The " You should have a main
element with an id
of main
." test is not working. It’s not the only one that isn’t working. I’ve only managed to pass the title test.
I tried the following code and still nothing.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title id="title">Tribute Page<title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Lorem Ipsum</h1>
</header>
<main id="main">
<div id="img-div">
<img id="image" src="" />
<figcaption id="img-caption">Lorem Ipsum</figcaption>
</div>
<section id="">
</section>
</main>
</body>
</html>