Method 1: Pure JS


Method 2: Hyperscript