The <link > element

Hello everyone.
I have a problem with the <link> element, when I refer it to the .scss file and make changes its not change anything,
any help will be greatly appreciated.

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My new Landing page</title>
    <link rel="stylesheet" href="/css/main.scss">
</head>

Hi, are you using a freecodecamp code editor, or a different one?
and i don’t think the path to your css file is correct.

 <link rel="stylesheet" href="/css/main.scss">
1 Like

Hello massih thanks for your respond, its fixed, because it was a
.scss file i should have turn on the watch scss on my
VS code editor

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