Home > other >  Having problem with running my CSS on VS Code
Having problem with running my CSS on VS Code

Time:01-28

I am new to using vscode. I am trying to practice HTML and CSS. I was able to run my HTML but when I try to debug and run my CSS its not working. it says file can't be reached. Thanks

CodePudding user response:

You have to link your css file like this:

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

CodePudding user response:

{You should post your code}

Remember to add this line in HTML

<style href='Your CSS file name'></style>

Or you can also use:

<link href='Your CSS file name'></link>

  •  Tags:  
  • Related