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

(3x-5)/(x-5)>=0 How do I get the answers for this problem?
3x+3=18 answer please
Which element is most likely to be featured in a work of realistic fiction?
Numbers like 10, 100, 1,000, and so on are called
40=-5n/8 n=_________
What is a paragraph proof
What are examples of chemical energy
plz help! (335.152 + 77.12) - 46.326= 11.024 - (1.518 + 1.7)=
numbers expressed using endpoints are called
Why are units used that are to express the densities of gases different from those used to express the densities of solids or liquids