Friends, I configure chrome in accordance with the documentation so that local images can be displayed.

What is done wrong, based on the picture? Does not display ...

Thank you in advance Snapshot

  • 2
    chrome.google.com/webstore/detail/web-server-for-chrome/ ... I recommend trying the chrome plugin - qwabra
  • one
    It is better to try to raise a simple local server. In that section ("How to run things locally") it is written how to do this. - prisoner849
  • @ prisoner849 thank you very much, I’ll look at Node.js, especially since he’s heard. - Natasha
  • @qwabra thank you very much, installed, but what next? from a simple start, no lokalka is imposed ..... - Natasha

1 answer 1

local front end server

  1. a good option
  2. plain

2. simple

install the plug-in (Web Server for Chrome) for the chrome browser https://chrome.google.com/webstore/detail/web-server-for-chrome/ofhbbkphphbklhfoeikjpcbhemlocgigb

you can run it from here chrome://apps , then you can fix it on the taskbar

CHOOSE FOLDER button = select a folder (that folder where html / js is) under it a slider - turn on and off the server

below link to the page

Web Server for Chrome plugin

1. A good option

install nodejs https://nodejs.org/en/download/ install the npm i -g reload server itself

npm - package manager
i - install
-g - globally (for the whole system)

then open the console and navigate to the desired folder with the index.html file and execute the reload command

reload benefits - when changing code inside js / html files, all open pages on all devices in all browsers update themselves

  • many thanks - spurn
  • With the web server 200ok everything turned out, thank you very much. you can only say how to fix it in the taskbar. I do not find it, and Google does not give out .... - Natasha
  • one
    1. What is your operating system? 2. I will assume: when you launch 200ok, it appears on the taskbar, with a separate icon, like the same chrome and if it is so, then right-click on it (200ok icon) and select in the drop-down menu that something like закрепить - qwabra
  • one
    And yet, I see you do not put a tick in the answers, please read this section of the reference ru.stackoverflow.com/help/someone-answers - qwabra
  • 7, there is no beech 8 - Natasha