Please check the link tag attributes and it's values are properly spelled. text\css will never load css file. The correct is text/css (it's forward slash). Also try to open the html file from file explorer and check if it's working.

<link rel="stylesheet" type="text/css" href="style.css" />
Answer from Rajdeep D on Stack Overflow
🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 142
CSS file doesn't load · Issue #142 · ritwickdey/vscode-live-server
June 2, 2018 - Hi! I am running live-server to quickly see changes in my web page trials. Changes in html are reloaded well. However, it appears that the CSS file does not load. If I use the "file://" on the browser, it works just fine.
Author   Icomanman
🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 2351
Live server only loading html and not the css · Issue #2351 · ritwickdey/vscode-live-server
I am submitting a Issue wherein my live server is not loading the css file and only launchig the html. This issue is not faced when I manually open the file in the browser so I know that the path is correct. I should inform that this iss...
Author   ghost
🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 2404
VS Code> CSS file not showing in live server · Issue #2404 · ritwickdey/vscode-live-server
Any change i make in css file will show up in live server. Beginning with text-align: center. Live server port: 50191 Use chrome private mode Chrome: latest VS code>Live server>settings: use local IPhost · Browser: - [ x] Chrome (desktop) version XX - [ ] Firefox version XX - [ ] Safari (desktop) version XX - [ ] IE version XX - [ ] Edge version XX For Tooling issues: - Live Server: <!-- Check which version is installed --> Ritwickdey.liveserver v5.7.5 - Platform: <!-- Mac, Linux, Windows -->Windows 10 Home 64 bit - Visual Studio Code: <!-- `code --version` --> <!DOCTYPE html> <html lang="en"
Author   ghost
🌐
Mozilla Support
support.mozilla.org › en-US › questions › 1196680
My css is not showing on live server (firefox default browser) on vscode | Firefox Support Forum | Mozilla Support
When i hit go live on vscode(firefox default browser) it only shows my html but if i open the file with chrome it does shows my css...why is that happening and how can i fix it? Make sure that you aren't loading local files, but that all links to load additional files are relative links that ...
🌐
Server Fault
serverfault.com › questions › 308868 › site-not-picking-up-css-styles-when-live
web server - Site not picking up CSS styles when LIVE - Server Fault
Do you get an error in the browser? What do the logs on the IIS server show? ... Make sure your html site actually references the correct CSS file... <link rel="stylesheet" title="Default" href="css/global.css"> ... Well my reference to the ...
Find elsewhere
🌐
Code with Mosh
forum.codewithmosh.com › t › css-changes-wont-show-on-live-server › 10080
Css changes won't show on live server - Code with Mosh Forum
November 3, 2021 - Hi all, I started the beginners html/css course. I have no prior knowledge whatsoever. I think it’s the reason I can’t figure out why suddenly the css code does not show on the live server. For a lesson, he created a bo…
🌐
Reddit
reddit.com › r › Atom › comments › evq2rr › css_not_showing_on_live_server
CSS not showing on live server. : r/Atom
February 19, 2019 - The live server is showing the HTML but the CSS isn't showing. The HTML and CSS files are all under one folder and the stylesheet link is already connected, so i'm not quite understanding the error here. ... What might be the issue. ... Create your account and connect with a world of communities. ... By continuing, you agree to our User Agreement and acknowledge that you understand the Privacy Policy. ... User Agreement Reddit, Inc...
🌐
freeCodeCamp
forum.freecodecamp.org › html-css
Live server not rendering - HTML-CSS - The freeCodeCamp Forum
February 7, 2022 - Hi, I’m trying to teach myself how to code in HTML and CSS using Visual Studio Code. Unfortunately I’ve already come across my first very basic problem. When I try to open up live browser the code that I have done isn’t showing on the browser. I’m expecting to see my title in the top ...
🌐
Reddit
reddit.com › r › vscode › comments › uc5zj2 › live_server_not_including_css_file
Live server not including css file : r/vscode
May 17, 2021 - A subreddit for working with Microsoft's Visual Studio Code · Create your account and connect with a world of communities
🌐
CodeIgniter
forum.codeigniter.com › post-375862.html
Images and css files not loading on live server
CodeIgniter Forums CodeIgniter 4 CodeIgniter 4 Support Images and css files not loading on live server
🌐
Stack Overflow
stackoverflow.com › questions › 34039985 › css-and-js-are-not-working-on-live-server-while-i-transfer-to-there
CSS and JS are not working on live server while I transfer to there
Have you uploaded the CSS and JS files in the correct locations? Try using absolute file references in the header links to the locations of the files on the server. ... Yeah i added all folders on same directories.
🌐
Stack Overflow
stackoverflow.com › questions › 76560569 › having-problem-regarding-css-and-live-server
html - having problem regarding CSS and live server - Stack Overflow
However, when I opened the code using the Live Server, I noticed that two additional <div> elements were automatically generated, resulting in a total of five <div> elements being displayed on the webpage. My intention was to have only the three <div> elements that I explicitly created in my HTML file, without any additional ones being added by the Live Server or any other factor. Interestingly, I found that when I used a CSS selector to style the <div> elements, the issue seemed to be resolved, and only the three original <div> elements were displayed as expected.
🌐
Reddit
reddit.com › r/learnjavascript › live server - my html file loads, but not the js & css
r/learnjavascript on Reddit: Live Server - My HTML file loads, but not the JS & CSS
January 2, 2022 -

Hello guys,

I'm having some trouble with a vanilla JS project. I'm used to React and never do projects in vanilla.

So a friend sent me his project, there are two folders in it : templates with all the html files, and dist with all the js, css, etc.
The entry point of his app is login.html. When I open this file with live server (in VS Code), the html is loaded, but not the JS nor the CSS.

By opening the console, I think I found the problem but I wanna be sure.

console

Do I need to access his backend to work on the frontend?

Thanks for your help!

🌐
GitHub
github.com › ritwickdey › vscode-live-server › issues › 283
VsCode Live server is not working with CSS · Issue #283 · ritwickdey/vscode-live-server
August 18, 2018 - [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting --> [ ] Feature request [ ] Documentation issue or request [ X] Other: <!-- Please describe: --> I just installed it on vscode 1.31 and live server 5.4.0 and trying with simle html, css and js and is not working I see this error in chrome dev tools ·
Author   chiranjeevi-bhaskaruni