Hubert Wang

I am
Hubert Wang

Wechat Official Account
Find fun things here!

Supporting Dark Mode in Your Website Interface

Illustration from dribbble, all rights owned by Gleb Kuznetsov✈, Link

中文EN

Update colors, images, and behaviors so that your website adapts automatically when Dark Mode is active.

Overview

In macOS, iPad OS, iOS, an......

1099

JavaScript Promises Study Notes

This article is the Udacity online course notes of JavaScript Promises by Google. The teacher of this course is Cameron Pittman.

Callbacks vs Thens

"The Promise object is used for deferred and a......

545

Building CSS Grid Layout in Two Steps

Picture from egghead

Why do I feel excited about the new CSS grid?

CSS grid gives us a more natural coding experience than using float or flex for complex layout.

Grid-based web......

487

Console Log Big Emoji

I use console.log to debug JavaScript codes. It's a painful process as I said: it is debug. When bugs are found, console.log("Bugs, again") works and logs this in console......

309

React Study Notes

This is the React study notes I made when I started to learn React.

In the study process, I've learned from more than 20 tutorials & vide......

418