Search code examples
htmlcsssaas

SCSS styling not getting applied to the files


Image Shown here

My scss styles are not being applied. Please help me figure out the issue. I have attached the github link of the project and also the image of the console.

https://github.com/webdeveloper1213/saasProject

Thanks.


Solution

  • You are putting spaces around the = signs in your HTML attributes. You shouldn't do that. Remove the extra spaces on both sides of =.

    The real problem here is that you have a typo of link ref for link rel. So the browser doesn’t know that you mean to indicate a stylesheet link.

    In the future you can catch errors like this by using an HTML validator: https://validator.w3.org/