Build a Tribute Page Project - Build a Tribute Page

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

Umm, I don’t really know what the problem is here, I’m required to create a main element with an id of main which is what I did but the code is not passing and the text I added inside the h1 element is not showing on the preview page. Can someone please tell me what I’m doing wrong ??

Your code so far

/* file: index.Ext.html */

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8"/>
    <link rel="stylesheet" href="styles.css"/>
    <title>Tribute Page<title/>
  </head>
  <body>
    <main id="main">
     <h1>Dr. Norman Bourlaug</h1> 
    </main>
  </body>
</html>

/* file: styles.Ext.css */

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8"/>
    <link rel="stylesheet" href="styles.css"/>
    <title>Tribute Page<title/>
  </head>
  <body>
    <main id="main">
     <h1>Dr. Norman Bourlaug</h1> 
    </main>
  </body>
</html>

Challenge: Build a Tribute Page Project - Build a Tribute Page

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

The error is misleading but your code is failing to render only because of a typo in the title element. The forward slash is in the wrong place in your closing tag. Fix that and it should resolve the issue.

3 Likes

Thanks man, it worked. I guess I should pay more attention to what I’m writing

2 Likes

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