Wow, just compiled the code and it worked.
I ever wanted to learn to code web related things, but it sounds complicated so I never really explorer the field. The code from Thaddy's link is so simple, easy to understand and no need to install any packages. It's really a good start for a newbie like me, now the fun begins.
Thanks Thaddy for link and all other people especially the TS who bring up this topic.