HTML custom input with type hidden and number1 min read

I don’t think it is possible to a create an element like

Solution is to create a custom element like this

MDN – Using Custom ELements (

To add a property of value to our <hidden-num> element, we must add the get value()  and set value(val)  methods. An attribute of value is also added […]

GST check digit validation algorithm2 min read

GST number validation is done through 2 steps Check if there is a character in position of a character and a number in position of a number. Validate the check digit that is the last character in the GST no. with  Luhn mod N algorithm ( An implementation in javascript


true  is returned […]

Electron: Share sessionStorage between window and webView?1 min read

I wanted to declare global const/var that were specific for an app instance. Here is a scenario – The app asks for username as soon as it starts and saves it for use unitil the app is closed. If the app was run two times, I didn’t want these instances to have the same username […]