© 2022 Hashnode
#javascript
In recent times, Progressive Web Apps have provided better web experience and rich user interactions thanks to their hybrid approach and progressive enhancement. Additionally, it is fast, safe to use,…
What is Recursion? Recursion is a process of calling itself. A recursive function is a function that calls it self in order to execute a function. The syntax of a recursive function is: From the diag…
The Problem Let's just say you're taking a break from spending 17 hours per day on Codewars on your holy quest to become an 8-Dan supreme master. Say you are trying to create a gameboard for a Battl…
window.location.replace("<URL>") will best simulate an HTTP redirect. window.location.replace("<URL>") : Replace method, will replace the current page with the one provided in the input parameter. The current page will not be saved in the …
Originally published at surajondev.com Introduction We love tools and resources that help us in easing our process. I take a look at the resources post to find some tools to improve my productivity. …
👋 Hey friends! As you know, I am working on @ContractGuard. But besides this I wanted to learn a bit more in a different field, so I am going to start a new project: "Project Hunt Hottest". The goal My goal with this is to create a Twitter…
So what does a web scraper do? A web scraper uses robots to extract structured data and content from a website by extracting the underlying HTML code and data stored in a database. In data mining, whether it’s preventing your IP address fro…
What is Functional Programming? Functional programming is a programming model designed to handle pure mathematical functions. This model is totally focused on writing manageable and reusable code. Functional programming and JavaScript JavaS…
You can change the HTML mouse cursor in two distinct ways: In JavaScript with the DOM element.style object. In CSS with the cursor property. You can use cursors predefined by web browsers or use a cus…
If you think that more comments in code are about better code then think again. Proper code writing and formatting(i.e., better naming conventions, adding blank lines, keeping lines short, etc.) make …
If you aren't going to name it better then people aren't going to interpret it better. Good naming of variables, functions, properties, methods, classes, constants, etc makes code more predictable and…
Hi! there 😁, Setting up a React Project sometimes comes with time-consuming steps, especially when you are a beginner. You need to worry about create-react-app ,npx, accurate npm version, React lib…
🕚 Temporal API Duration In this post on Temporal API duration, we see how the new JavaScript Temporal API makes working with time periods and durations easier. The API lets you define a time period …