Please, what does launch.json mean in vs code?😕 I'm trying to run a simple css file, then it says local host not found. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please, what does launch.json mean in vs code?😕 I'm trying to run a simple css file, then it says local host not found.

Debugging

1st Mar 2022, 9:43 AM
Yemisi
Yemisi - avatar
5 Answers
+ 2
JSON is JavaScript object notation Please delete that file and create a CSS file instead
1st Mar 2022, 10:02 AM
Sonic_gameryt6 _
+ 2
Read this to see what is launch.json for https://code.visualstudio.com/docs/editor/debugging You maybe changed folder name, deleted file or renamed it, and make problem with launch.json file. You can try to make new workplace, then copy/paste your css code and try it again.
1st Mar 2022, 10:57 AM
PanicS
PanicS - avatar
+ 1
Sonic_gameryt6 _ It worked. Thank you so much. But do I have to delete json file everytime I want to run a code though?
1st Mar 2022, 10:17 AM
Yemisi
Yemisi - avatar
0
Sonic_gameryt6 _ There is a CSS file. It was after I deleted it and ran it again it displayed 'local host not found'☹️
1st Mar 2022, 10:05 AM
Yemisi
Yemisi - avatar
0
Yemisi create a file called FileName.CSS You can replace FileName with any name if you want
1st Mar 2022, 10:08 AM
Sonic_gameryt6 _