Tribute Page - Build a Tribute Page

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
  <meta charset="UTF-8">
  <title>Tribute Page</title>
  <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <main id="main">
     <div id="img-div">
       <img id="img">
       
       </div> 
      </main>
      </body>
  </html>
/* file: styles.css */

Your browser information:

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

Challenge: Tribute Page - Build a Tribute Page

Link to the challenge:

I really do not understand the id attribute,

The head element is a parent of the meta, title and the link element. Indent some space infront of your meta title and link element.

The body should also be a container for the element in it. Arranging your code is very important in codding .

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