Responsive Web Design Projects - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.
ive managed to build a tribute page to completion but i cant seem to get the main element checkbox to checkmark,can anyone tell me what im doing wrong.

   **Your code so far**
/* file: index.html */
<head>
 <div id="main">
<h1 id="title"> Teen Gohan - the actual strongest Saiyan</h1>
<style>
body{
 background-color:black;
 color:white;
 font-family:monospace;
}
 </style>
</head>
<body>

<div id="img-div">
 <a id="tribute-link" target="_blank" href="https://www.youtube.com/watch?v=_Mk5sKr0N0c">
 <img id= "image" src="https://preview.redd.it/etitp257duc21.png?auto=webp&s=1c5c09f682648174610326154e7206215deb79bc" alt="picture of gohan" 
 width=100% 
 height=60%>
 </a>
 <figcaption id="img-caption">Teen gohan is arguably the best character of the show,he had to overcome his internal struggly of not wanting to fight which made him relatable</figcaption>
 
  </div>
<p id="tribute-info">
<b> Gohan Attributes</b>
<ul>
<li> half-saiyan half-human</li>
<li>Gokus firstborn</li>
<li>First saiyan to reach super saiyan 2</li>
<li>brother to Gotenks</li>
</ul>
 </p>
</main>
<link rel="stylesheet" href="styles.css">
</div>
<link rel="stylesheet" href="styles.css">

/* file: styles.css */
#img-caption
{
 width:400px;
}

#image
{
 max-width: 100%;
 height:auto;
 display: block;
}
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36

Challenge: Responsive Web Design Projects - Build a Tribute Page

Link to the challenge:

I see a closing </main> tag in your HTML but I don’t see an opening <main> tag in your HTML.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.