• -Tealeaf@alien.top
    cake
    B
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Look up the live-server extension. Thats what you can use to host / see html files

    • CairoMaxima@alien.top
      cake
      OPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      This is what I have under launch.json file but, I still get the same error message : {
      // Use IntelliSense to learn about possible attributes.
      // Hover to view descriptions of existing attributes.
      // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
      “version”: “0.2.0”,
      “configurations”: [
      {
      “name”: “Launch Chrome”,
      “request”: “launch”,
      “type”: “chrome”,
      “url”: “http://localhost:8080”,
      “webRoot”: “${workspaceFolder}”
      },
      {
      “type”: “chrome”,
      “request”: “launch”,
      “name”: “Open test.html”,
      “file”: “/home/cyber_ace/Documents/frontEnd/test.html”
      }
      ]
      }

      • bitspace@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        I don’t use VSCode, but I don’t see anything there that tells it where to find your browser.

        Aside: this is not the best subreddit to ask this question. It has nothing to do with System76 products. You’ll probably have better luck asking in a subreddit about VSCode.

        • CairoMaxima@alien.top
          cake
          OPB
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Thanks, u/bitspace. I appreciate you taking the time to respond despite not using VSCode. I just made a post in the VSCode subreddit. Hopefully, I can solve this issue.