Checking for undefined and null in Javascript
Undefined and null are values in JavaScript that represent the absence of a value or a variable being set. While they may seem similar they do have different meanings and…
Undefined and null are values in JavaScript that represent the absence of a value or a variable being set. While they may seem similar they do have different meanings and…
A very simple and easy-to-implement dark and light mode button switch built with React using Tailwind CSS. This method uses a state to check if the theme is set to…
Writing out conditionals in React that change the state of your Application. The conditionals are written very similarly to Javascript but you have to consider the rules of JSX. The…
A state in React holds information that impacts the DOM render and is managed within a component. Whenever a state is changed the component re-renders thus manipulating the DOM. You…
The process of learning React JS, This post details the use of React with Laravel through a very modern method via the use of Inertia JS. InertiaJS brings the functionality…
React JS or just React is a very popular Javascript framework created by a software engineer at Facebook. The main focus of React is to build user interfaces (UI), with…
How to show and hide different data series on an ApexCharts chart by using buttons. Using ApexCharts methods gives the ability to modify a chart or graph after it has…
How to toggle the data series on an ApexCharts chart using buttons without doing a page reload. ApexCharts methods is the process to modify a chart or graph after it…
A Bootstrap table row update button with a spinner. The button has a spinner loader whilst an Ajax call completes to determine the status text and colour. CodePen link. …
How to do a progress loading spinner whilst waiting for an Ajax call/request. This can prevent the awkward blank page whilst loading in elements from an HTTP GET request. CodePen…