How to open host? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to open host?

26th Jan 2019, 7:15 PM
Our Time
Our Time - avatar
3 Answers
+ 1
Our Time your question need clarification. Please, explain better what do you mean.
26th Jan 2019, 8:48 PM
Ulisses Cruz
Ulisses Cruz - avatar
0
If it refers to localhost you need to install node.js. Then in cmd run the command npm install -g live-server Open in cmd the file directory in which your js file is and simply write live-server It will automatically open a browser tab with a temporary host. And it will close if you close the cmd window. That's it!
26th Jan 2019, 7:41 PM
Charlie S
Charlie S - avatar
0
Thanks
27th Jan 2019, 7:03 AM
Our Time
Our Time - avatar