Error detected at

Hi guys:

I spent a huge time trying to figure out why I get error at testing my code, and finally got an answer.

At this course & step:

and using this code:

    <meta charset="UTF-8">
    <title>City Skyline</title>
    <link rel="stylesheet" href="styles.css">/>

I get:

Congratulations, your code passes. Submit your code to continue.

BUT… there is an error at the closing tag of the link to the stylesheet:

The correct line should be:

    <link rel="stylesheet" href="styles.css">


    <link rel="stylesheet" href="styles.css"/>

but not:

    <link rel="stylesheet" href='styles.css'>/>

What do you think guys?

this is correct one. link tag is self closing tag

1 Like

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