# VSCode help me guys

**URL:** <https://forum.codewithmosh.com/t/vscode-help-me-guys/4484>\
**Category:** HTML/CSS\
**Created:** [April 28, 2021, 10:40am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484 "2021-04-28T10:40:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [April 28, 2021, 10:40am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/1 "2021-04-28T10:40:33Z")

</div>

Hello guys why when I try to run my Html file open it on chrome they can’t find it on google chrome it said “This site can’t be reached” ? Anyone can help me.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/44db64e5c09d8de1c80e3cb9676a08d616a54f8a.jpeg)

---

<div class="post-metadata">

**Author:** ![level1cr3](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@level1cr3](https://forum.codewithmosh.com/u/level1cr3)\
**Post date:** [April 28, 2021, 12:22pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/2 "2021-04-28T12:22:46Z")

</div>

1. go to extension in visual studio code.
2. Install Live Server.
3. Then right click on your HTML code and select open with live server.

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [April 28, 2021, 12:36pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/3 "2021-04-28T12:36:23Z")

</div>

Thank you so much. I think I forgot to install this extension, because before it was working and after I delete my html file to practice new one. It didn’t work now. I will try this, thank you.

---

<div class="post-metadata">

**Author:** ![level1cr3](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@level1cr3](https://forum.codewithmosh.com/u/level1cr3)\
**Post date:** [April 28, 2021, 1:07pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/5 "2021-04-28T13:07:57Z")

</div>

hey man do you have access to “html and css course part 2”. I’m having issue with mine I’m not able to download the ‘layout exercise zip’ can you help me with this can you upload the zip file here or send me in my email : [level1cr3@gmail.com](mailto:level1cr3@gmail.com)

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [April 28, 2021, 9:28pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/6 "2021-04-28T21:28:09Z")

</div>

I’m not on part 2 yet. Would be nice to connect with you. Do you have whatsapp or Facebook. Can send me direct message .

---

<div class="post-metadata">

**Author:** ![level1cr3](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@level1cr3](https://forum.codewithmosh.com/u/level1cr3)\
**Post date:** [April 29, 2021, 2:05am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/7 "2021-04-29T02:05:07Z")

</div>

I don’t use facebook. you can message me here if you want any time.

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [April 29, 2021, 9:51am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/8 "2021-04-29T09:51:48Z")

</div>

why when i click run code to my VS, the page still didnt found. but, when i click open with live server it actually working… might be problem to my folder path.

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [April 29, 2021, 12:03pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/9 "2021-04-29T12:03:33Z")

</div>

Based on your screenshot you have only entered the filename, not the folder path.  
Also the ‘/’ after the filename is wrong.

Open Microsoft File Explorer, go to the correct folder en double click on lucin.html. Now the file should open in the browser.

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [April 30, 2021, 8:37am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/10 "2021-04-30T08:37:19Z")

</div>

I don’t get it, when i double click the html file its actually working. but when i try to run the code. it didnt run and still " This site can’t be reached". im not sure how come does the / was there.

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [April 30, 2021, 11:07am UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/11 "2021-04-30T11:07:39Z")

</div>

So if I understand the html page works when:  
a) From VSCode with live server  
b) When double click on the html file.

What do you mean with “try to run the code”?

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [May 1, 2021, 4:05pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/12 "2021-05-01T16:05:00Z")

</div>

before i dont have live server, i only have code runner. then its working. then when i delete the html file and create new one, the new one didn’t work. When i double click the html file it still working. but when i click the coderunner, it didn’t work i think i need to change the file location.

---

<div class="post-metadata">

**Author:** ![William](https://avatars.discourse-cdn.com/v4/letter/w/b19c9b/32.png) [@William](https://forum.codewithmosh.com/u/William)\
**Post date:** [May 1, 2021, 6:48pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/13 "2021-05-01T18:48:25Z")

</div>

Never heard of Code Runner.  
I use VSCode with Live Server.

---

<div class="post-metadata">

**Author:** ![Lorenzlucin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/lorenzlucin/32/1453_2.png) [@Lorenzlucin](https://forum.codewithmosh.com/u/Lorenzlucin)\
**Post date:** [May 1, 2021, 6:49pm UTC](https://forum.codewithmosh.com/t/vscode-help-me-guys/4484/14 "2021-05-01T18:49:29Z")

</div>

its one of recommended extension in VScode but i disable it as im not familiar with the configuration. right now i use the live server instead… Thank you so much for your help.
