Im confused on where my id="title" should be in my code

This is my code so far. I’ve only passed the first test which was the id=main tag. Im sort of los because im using vs code studio. please help me find out what im doing wrong. btw the title shows on my page it just won’t pass the test

Tell us what’s happening:

Your code so far

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="./style.css" />
    <div id="main">
      <header>Kobe Bryant </header>
        <div>My section</div>
        <div>My section</div>
        <div>My section</div>
      <footer>My footer</footer>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.

Challenge: Build a Tribute Page

Link to the challenge:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

thanks I was wondering why it popped up as not code at first, so your saying use *** to wrap my code in?

Since you’re coding in VSC follow the instructions;
Or you can use this CDN link to run the tests in any environment you like:
so that you can run the test script to see what’s failing.

Review this for an understanding of the HTML boilerplate tags.

What does the failing message say?
I do not see where you have an id attribute with a value of title.


*** are not backtics. see the post. or just use the formatter

not shure but u need a spaceScreenshot from 2021-02-05 18-18-43
inbetween the id_=_ “main”>

that’s not true @oscar4 and that’s not the question the OP is asking

dont u ! woops :joy:

he asked something about an id so i thought that was it

I know what he’s asking. I’m trying to guide

hahaha no I was asking about my id=title I’ve already passed the id=main test

ok sorry :joy: :joy: :joy: :joy:

this link isn’t working is it because im not using google chrome?

The link for the boilerplate tags doesn’t care what browser you use.

My main reason for posting it is because I want you to be aware that there’s a difference between a title element and an attribute that’s set to “title”

When you read the failing error message be sure to read more than just the first line. There is text that tells you what the test is looking for and also how to correct the issue.