Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link rel = "stylesheet" href = "calculator.css" />
- </head>
- <body>
- <div>
- <form id = "calcForm">
- <input type = "text" name = "myInput" id = "myInput" /><br /><br />
- <input type = "button" value = "7" />
- <input type = "button" value = "8" />
- <input type = "button" value = "9" />
- <input type = "button" value = "*" /><br /><br />
- <input type = "button" value = "4" />
- <input type = "button" value = "5" />
- <input type = "button" value = "6" />
- <input type = "button" value = "-" /><br /><br />
- <input type = "button" value = "1" />
- <input type = "button" value = "2" />
- <input type = "button" value = "3" />
- <input type = "button" value = "+" /><br /><br />
- <input type = "button" value = "0" />
- <input type = "button" value = "/" />
- <input type = "button" value = "%" />
- <button type = "button" >=</button><br /><br />
- <button type = "button" >CE</button>
- <p>Basic calculator</p>
- </form>
- </div>
- <script src = "calculator.js"></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement