Seudónimo Seudónimo
  • 23-01-2021
  • Engineering
contestada

How would I make a button on javascript

Respuesta :

jeffyjolly273 jeffyjolly273
  • 23-01-2021

Answer:

Explanation:

// 1. Create the button.

var button = document. createElement("button");

button. innerHTML = "Do Something";

// 2. Append somewhere.

var body = document. getElementsByTagName("body")[0];

body. appendChild(button);

// 3. Add event handler.

Answer Link
KAYLAMOORE1385 KAYLAMOORE1385
  • 12-11-2021
I am sorry I don’t really understand the question but i do want the points
Answer Link

Otras preguntas

each electron in an atom must have its own unique set of quantum numbers"" is a statement of
need help on math question​
If there is a 30% reserve requirement on a $1,000 deposit, how much must be set aside as a member bank reserve? Question 9 options: $300 $3 $33 $30
Volume with fraction: 5/2 1/3 3/4 I need it ASAP. For my Khan Academy
The origins of the Trans-Saharan Slave Trade can be traced back to the migration of the Berber people of Northern Africa. However, their success in navigating
Greg says that he usually eats 1 medium carrot every day to ensure that he's consuming enough vitamin A. Today he said he didn't eat any carrots and is worried
Why were the colonist families large?
Find m angle T, rounded to the nearest degree
Suppose the government wants to reduce this type of unemployment. Which of the following policies would help achieve this goal? Check all that apply. Improving
What is (2 1 /4 ) × (−8)