This is how I installed and set up Microsoft SQL Server on my Mac using Docker. In this guide, I’ll walk you through the steps I followed to get MSSQL up and running, including how I backed up and restored a sample database. This assumes that you already have Docker installed on your Mac. If …
3 quick ways to fix Unexpected tokens in JSON at position 0 in JavaScript
The Unexpected token in JSON at position 0 syntax error occurs when the JSON data is not valid and we try to pass functions like JSON.parse or JSON.stringify to it. We can fix this error by making sure the JSON content is valid. Why an unexpected token in JSON Syntax Error? A common reason why …
2 ways to show and hide elements using HTML and CSS, I prefer the first one
You can show or hide elements on a page in many different ways. We are going to focus on hiding/showing elements when users interact with them (click). I will show you my preferred method of achieving this using HTML and CSS only, I will also show you another method in which this can be achieved. Use …
Roll back Shopify CLI 3 install to Shopify CLI 2
To roll back to Shopify CLI 2, you first need to uninstall Shopify CLI 3. Before you roll back, here are the things to consider.
How to Create a Custom HTML Audio Player using HTML and JavaScript
HTML5 Audio Interface Creating a custom HTML audio player gives you the ability to fully customize the look and functionality of the player to match the design and needs of your website. In this blog post, we’ll cover how to create a custom HTML audio player from scratch. This tutorial is divided into three sections. …