Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

307
Views
How to fetch items from console with javascript?
over 4 years ago · Juan Esteban Piedrahita Castañeda
1 answers
Answer question

1

use getElementById() or getElementByClass() and find elements from the console.

For example:

 <html> <head> <title>Ejemplo getElementById</title> </head> <body> <p id="para">Cualquier texto acá</p> <button onclick="changeColor('blue');">Azul</button> <button onclick="changeColor('red');">Rojo</button> </body> </html>

 var elem = document.getElementById('para'); elem.style.color = red;

and you will change the color of the text to red.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!