Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
Chrome is not running javascript

I am learning javascript and I made a webpage with news API. the problem is that when I open my index.html file with the live server in vs code is working fine but when I go to my folder and open the HTML file the javascript is not working. image of index.html in live server

this is index.html in live server vs code working perfectly

image of index.html when I open it from the folder

this is image of same file when I open it from my folder

I am new to web development, not even new I am still a student. is it not supposed to work or am I doing something wrong?

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

you need the development server to serve the statics files, such as images to browser. browser will request static files from the server, and loaded in browser. that is why without vscode liveserver, you do not see images.

about 4 years ago · Juan Pablo Isaza Denunciar

0

You are required to serve the files. use a tool like MAMP for that.

After startup you have to change the Webserver to the folder containing your index.html (Documentation)

If you are using a more complex framework additional steps can be required.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda