Taufik Nurrohman

Taufik Nurrohman @taufik_nurrohman

About: I have a dream, but it won’t make me rich.

Location:
Banyumas, Indonesia
Joined:
Jun 20, 2019

Taufik Nurrohman
articles - 10 total

CSS: Best Practices for Multi-Level Navigation

Just get to the point, the key is to use the CSS adjacent sibling selector (the + selector), child...

Learn More 0 0Jun 13 '24

Mecha CMS Installation Guide

Mecha is a minimalist flat-file content management system written in PHP. Based on the experience tha...

Learn More 1 0Nov 7 '20

Match Valid RGB/RGBA Color String using Range Pattern

First, we need to match range from 0 to 9. This range is safe enough so you can just: let range =...

Learn More 0 0Oct 24 '20

Match Valid HEX/HEX+A Color String using Regular Expression

HEX color normally accept 6 input of 0 to 9 and a to f excluding the hash prefix, and they are case...

Learn More 0 1Oct 24 '20

Type Checking in JavaScript

I like to group all type checking tasks into helper functions like this to be used internally. This...

Learn More 5 0Oct 18 '20

What Are Your Tips for Getting More Stars on GitHub?

… and also, to generate passive income through it? I understand that you cannot make ends meet and b...

Learn More 12 5Oct 4 '20

The `import()` Syntax of ES2020 Looks Promising; How to Detect if Such Feature Available Then?

With the plan, import() is proposed to work in both modules and scripts, giving script code an easy...

Learn More 5 0Jun 20 '20

When Does Arrow Function Become Useless?

Arrow function loses its benefits when used like this: for (let i = 0, j = elements.length; i <...

Learn More 5 1Jun 5 '20

This Code Snippet Will Make You Think That `switch ... case` Statements Are Obsolete

Before let b; switch (a) { case '#': b = 'one'; break; case '##': b = 'tw...

Learn More 8 0Dec 29 '19

Bringing `KeyboardEvent.key` and `KeyboardEvent.keyCode` Altogether for the Best Keyboard Interaction Experience

Photo by Sathesh D from Pexels In ancient times, we were depending on the KeyboardEvent.keyCode prop...

Learn More 15 0Dec 5 '19