Fly with code

Get wet inside ocean of code

0%

Use “onclick”

In traditional way, it’s fine to use “onclick”
but, the problem is
you can’t bind more than one event on the same element.
Here is the example, when clicking the first button
the rear one’s result will override the previous one.
Demo as below

Read more »

Why need to learn version control system (Git) ?

When programmer works on project, there will be lots of files and source codes created during the development.
In the ancient times, people will create lots of files using different name tags, to identify with each other.

1
2
3
2020-08-21.html
2020-08-22.html
2020-08-23.html
Read more »

How does API work ?

When we operate on webpage, it will need to get some data from backend.
But, it can’t get data directly from DB(database), instead, need to ask browser to do the favor.
Therefore, there is a communication method between browser and webpage called API.
(Application Programming Interface)

Read more »