Posts by vgrt • 1 point
1 post
-
-1
votes2
answers80
viewsA: Create red square on the screen - I need to create a button, where every time it is pressed, a red square is created
<> <button id="toggleButton">toggle display element</button> <div id="square" style={{ textAlign: "center", margin: "10px", color: "white", backgroundColor: "red", width:…
javascriptanswered vgrt 1