Today I got a general idea about Java Script and implemented a small calculator for Js.

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.