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

289
Vistas
how to Find the element with the class “values”, and tell us what the element contains in the following page https://theplan.co.uk/support-applicant/

I seem to struggle with answering this question withing the following link : https://theplan.co.uk/support-applicant/

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

0

Use querySelector for getting the tag, and innterText or textContent for getting the right content of the tag (with the current html both return the same).

console.log('innerText', document.querySelector('.values').innerText);

console.log('textContent', document.querySelector('.values').textContent);
<p>We're looking for someone to join our growing Customer Support team! <span class="values">Obsessing over our users</span> is one of the key Hotjar values, so you'll help us continue to deliver outstanding support.</p>

about 4 years ago · Juan Pablo Isaza Denunciar

0

Two possibilities that come to mind immediately: querySelector and getElementsByClassName

Like @Totati, I would also prefer the querySelector.

document.querySelector('.values').innerText
// output: "Obsessing over our users"

elem = document.getElementsByClassName('values')[0].innerText
// output: "Obsessing over our users"
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