CREATE A SIMPLE CALCULATOR USING HTML Creating a calculator is one of the most recommended beginner's project. Hence, I decided to make it my first post. First I created the table so that all the buttons are placed in a tabular form. Then the form, so that all the buttons works perfectly. Then, I added the styling using Css And Lastly, I added the Scripting to make the buttons functional. The scriptings are All in the onclick event attribute. <center><form name="calculator"> <table> <tr> <td colspan="6"> <input type="text" name="display" id="display"placeholder="0"disabled> </td> </tr> <tr> <td><input type="button" nam...
Comments
Post a Comment