Skip to main content

codebubb

Recent

How to code a Javascript Random Number Generator

·2 mins
Generating random numbers in JavaScript is easy once you understand how the built-in function to do this works but a lot of developers tend to write repetitive code rather than creating their own random number function which can be re-used.
How to code a Javascript Random Number Generator

How to Fix the JSON Parse Error in JavaScript

·4 mins
There are two reasons why you might see the JSON parse error in your JavaScript code and, as a JavaScript developer, you need to know how to fix both of them.
How to Fix the JSON Parse Error in JavaScript

Express Get JSON Body

·2 mins
This is something that gets me everytime I’m setting up an Express app so I thought I would make a note here so I can (hopefully) remember this super simple thing for Express to get JSON body data.
Express Get JSON Body

How to Self Host Plausible Analytics

·7 mins
I was in the process of setting up a few projects recently and wanted to try out using Plausible analytics rather the standard Google Analytics and I got a bit stuck configuring https access so thought I would document the process here.
How to Self Host Plausible Analytics