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

399
Vistas
How do I console log (debugg) what is inside my html file in visual studio?

Here is what I've tried in VS. However, it's not giving the output I want.

<html>
    <head>
    </head>
    <body>        
        <h1 id="header"> Here is some text</h1>
        <p id="foot">PLACEHOLDER</p>
        <script src="index.js"></script>
    </body>
 </html>
    var header = document.getElementById("header")
    console.log(Object.keys(header.style))

OUTPUT

[Done] exited with code=1 in 0.094 seconds

The output should be:

["alignContent", "alignItems", "alignSelf", "alignmentBaseline",.....]
about 4 years ago · Santiago Gelvez
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