Basically, I cannot link my CSS and my HTML. Whenever i load my page nothing changes even though it should. I tried putting that exact style in tags and it works but i want my CSS to be on its own. Also, i dont know if its normal but it seems like chrome is adding a '/' in front of the css path.paths to my files[how i tried to link itChrome console](https://i.stack.imgur.com/N7TRi.png)
I tried using asset() and the basic way but nothing seems to work.
CodePudding user response:
you have two examples frest on go to vscode in side andInformation taghis code is could or Ron between css fil and html namber2:this importan you selected mack tag in html by name is <link rel=“style sheet” href=“style.css”>and end go the information the file css in vscode
CodePudding user response:
Are you link it correctly? Is the file valid? Is it in the same folder. When you import CSS into your HTML, you should be adding it like this.
<link rel="stylesheet" href="example.css">
(Link is a self closing tag)