“RESPONSIVE” WEBSITE

For this week's assignment, I chose to modify the example of 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 are my code link:

https://github.com/SiyuanZan/hacking-the-browser

 

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