BATTERY API

The functions that I added is that when the computer is charging, the battery's color become green and there is animated guy running from the left of page to right. However, when the computer is not charging, the battery's color become gray and the guy disappear.

here is my code :

Link

 

©2020 by Siyuan Zan. Proudly created with Wix.com