This is a web version that I use Java Script to run on a browser:
The above is a calculator that I drew using HTML based on the table control plus button and text box control.CodeNot yet written. It's too late today. Let's go to bed first and update this stuff tomorrow! (Well, the editing process is still good. Let's take a look at it and the blog template doesn't look like it anymore ......)
Tomorrow I am going to use CSS to control the format, and then add the code that uses Js for internal processing, so that it can truly implement the computing function.
Yesterday, I used js to implement the internal response logic. However, the task has not been completed yet because I am not familiar with Js...
However, when I looked around for a Java Script book today, I found one on Amazon called JavaScript step by step. well written, rated 4 and a half stars, very high, but unfortunately this book does not have a Chinese version. I read two chapters in an English Electronic version. It is really good and readable ..... After reading this book, it is estimated that javascript can be well known.
today, we can see Chapter 10th in Javascript step by step, which gives us a general idea of Dom, and simply completes this small calculator.