How to Handle Dates in JavaScript?
Reading Time: 13 minutes In this blog, we’ll explore the fascinating realm of JavaScript’s Date object by showing a step-by-step implementation of how to handle dates in JavaScript. We’ll dig deep into its importance in web development, specifically how it helps manage time on the user’s device. Instead of relying on servers, JavaScript’s Date object allows us to handle […]
How to Make Your Own Google Chrome Extension?
Reading Time: 9 minutes Google Chrome Google Chrome is a widely-used web browser developed by Google. It was first released in September 2008 and has since become one of the most popular and dominant web browsers in the world. Google Chrome is available for multiple platforms, including Windows, macOS, Linux, iOS, and Android. Google Chrome Extension A Google Chrome […]
How to Get the User’s Location Using Mapbox?
Reading Time: 9 minutes Obtaining a user’s location is a critical requirement for many modern web applications, such as location-based services, personalized content delivery, and targeted marketing. However, without proper guidance and understanding of HTML and JavaScript geolocation techniques, developers often face challenges in implementing this feature effectively. In this blog, we aim to address these challenges and provide […]
Use SurrealDB to Persist Data with Rocket REST API
Reading Time: 8 minutes Databases are essential in web development for organizing data in various forms and shapes (both structured and unstructured). Their ultimate goal is for the stored data to be easily retrievable, updated, queried, and generally administered via a graphical user interface (GUI), dashboard, or even command line interface (CLI). We can use database management systems to […]
Create a Weather App Using the Qwik Framework
Reading Time: 6 minutes Over the past decade, we have seen a steady rise in client-side JavaScript frameworks or libraries. Each of these frameworks curves out a niche in the JavaScript ecosystem and tries to enable developers to find the perfect solution according to the provided context. Renowned frameworks include React, Angular, Svelte, and Vue. These frameworks have also […]
How to Build a Rust WebAssembly Frontend App with Yew Framework?
Reading Time: 6 minutes While Rust is known for its backend web development capabilities, the introduction of WebAssembly (Wasm) has enabled the development of rich front-end apps in Rust. With the introduction of WebAssembly, it became possible to build frontend web apps in Rust, such as the one we just built, expanding development opportunities for developers. While all of […]
How to create test cases and start testing the JavaScript code using Mocha?
Reading Time: 9 minutes Better architecture results from well-tested code. It is always simpler to change and improve. Jest, Jasmine, Mocha, QUnit, Karma, Cypress, and other test-driven development tools are available for JavaScript, just as they are for any other programming language. In this blog, we will show you the full implementation of how to create test cases and […]
How to upload single or multiple images to a local directory with Multer in Node.js?
Reading Time: 7 minutes The most fundamental operation of any application is a file upload. While images can be uploaded on the front end, they must be received via an API and database on the backend. You can set up file and image uploads in one place using Multer and Express, a Node.js framework. In this blog, we will […]
How to connect to MySQL database and run CRUD operations in Node.js?
Reading Time: 8 minutes In this blog, we will have a look at getting started with the MySQL npm package which is a Node.js client for connecting to MySQL, written in JavaScript. We will see how to use the package to connect to a MySQL database and perform the CRUD operations. We will begin with creating a new directory […]