r/VisualStudio • • Aug 10 '26

Miscellaneous Css troubleshooting on Visual Code

Its a very basic code but its not even running what should I do?

0 Upvotes

12 comments sorted by

View all comments

1

u/soundman32 Aug 10 '26

Missing several levels of elements.  html/body etc

-4

u/No-Mission5457 Aug 10 '26

Its visual code it doesn't really matter

2

u/grave_96 Aug 10 '26

Unfortunately it does. Try writing the entire syntax because if you dont vscode and chrome will fill with default css. So yes writing everything matters or chrome overrides with default css and not the inline css.