![]() So, for the "6" button, we'll put +='6' between the quotes. For a calculator, we want the text that displays in each button to by understood as such. onClick="": This syntax describes an event, which tells the document that something should occur when the button is clicked.For a calculator, these show up as our numbers (1-9) and operations (+,-,*,/,=). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |