Learn Basic JavaScript by Building a Role Playing Game - Step 1

Tell us what’s happening:

it says I don’t have a link element I do, or am I doing something wrong here?

Your code so far

<!-- User Editable Region -->

<html lang="en">
    <TITLE>RPG - Dragon Repeller</tittle>
    <link rel="stylesheet" href="styles.css">

<!-- User Editable Region -->

Your browser information:

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

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 1

Your element names should all be in lowercase.
You also have a typo in your title element closing tag.
Your charset attribute should also be lowercase.
Finally, the DOCTYPE declaration usually has the html in lowercase too.

In short, everything but !DOCTYPE and the text content of your title element should be lowercase.

1 Like

I see but the problem seems to be in the “link” element

The error messages do not always point exactly to the typos/mistakes in your code, so can be a little misleading. The tests are not reading the link element correctly because of the errors elsewhere in your code. If you correct the casing and typos, your code will pass.

I see, I followed your advice and found out that the problem was in the closing “title” tag, so the error wasn’t reading the “link” tag because the “title” tag never ended, I guess. Thanks!

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