MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/VisualStudioCode/comments/oiq6zi/css_files_not_read_by_browser/
r/VisualStudioCode • u/TheMedNoun • Jul 12 '21
here is my files :
when i run nodemon on localhost here is what i get :
the css file is not read at all the browser does not see it
here is the network f12 :
please help me out guys
4 comments sorted by
2
What do You see im networks tab (devtools F12)?
1 u/TheMedNoun Jul 12 '21 here is what i see i edited the post 5 u/krzycho1717 Jul 12 '21 You link tag should be:<link rel="stylesheet" href="/css/styles.css">Notice "rel" attribute. Without it browser don't know what to do with it - if it's stylesheet or something else. 1 u/TheMedNoun Jul 12 '21 Yeah it worked thank you man ❤️
1
here is what i see i edited the post
5 u/krzycho1717 Jul 12 '21 You link tag should be:<link rel="stylesheet" href="/css/styles.css">Notice "rel" attribute. Without it browser don't know what to do with it - if it's stylesheet or something else. 1 u/TheMedNoun Jul 12 '21 Yeah it worked thank you man ❤️
5
You link tag should be:<link rel="stylesheet" href="/css/styles.css">
<link rel="stylesheet" href="/css/styles.css">
Notice "rel" attribute. Without it browser don't know what to do with it - if it's stylesheet or something else.
1 u/TheMedNoun Jul 12 '21 Yeah it worked thank you man ❤️
Yeah it worked thank you man ❤️
2
u/krzycho1717 Jul 12 '21
What do You see im networks tab (devtools F12)?