© 2023 Hashnode
#javascript
Data type refers to the type of data that a JavaScript variable can hold. Assigning values to variables, including numbers, text, and true or false, has been all we've done up to this point. What are …
You've worked hard to learn JavaScript. Are you now ready to start learning React? This article teaches how to create a local environment using Vite, providing a practical approach to practicing React…
Now that GPT-4 has been released and a lot of incredible demos are coming out, I wanted to give it a try with a complex project. I settled on a React-based crossword puzzle because there are a few mov…
In computer programming, when a piece of data is passed to a function or method, there are two main ways in which it can be passed: pass by value and pass by reference. Pass by Value In pass by value,…
As you may already know Javascript is a Just-In-Time (JIT) compiled language, which means that the code is compiled at runtime, rather than being compiled ahead of time. This makes JavaScript highly f…
Introduction In JavaScript, objects are a critical aspect of the language as they allow for the creation of complex data structures. Accessing and manipulating properties of objects is essential, and …
Introduction An Environment file (.env file) is a sustainable way to store environment variables while in development. With the help of the dotenv package, we can easily load those environment variables into our app which need them. But som…
A variable is a memory space in which we can store data and used it at any point in time when needed. In Postman, a variable can be declared by the following scopes: Global variables enable you to ac…
The this keyword in JavaScript refers to the context in which a function is executed. The value of this can be different in different situations, such as global context, object context, constructor co…
Arithmetic operators are used in JavaScript to perform arithmetic operations on values, such as addition, subtraction, multiplication, and division. Here are some examples: 1) Addition (+): This opera…
Recently I started to learn jQuery.jQuery is a lightweight javascript library. You can use it online or offline. I used Google CDN for my projects. Many users already have downloaded jQuery from Googl…
In JavaScript, a set is a built-in object that allows you to store a collection of unique values. The Set object is similar to an array, but unlike an array, it can only contain unique values. In othe…
Welcome to my weekly blog about Cascading Style Sheets (CSS). I know, I know, it's not the most exciting topic, but I'm here to make it fun! So grab a cup of coffee and get ready to learn some CSS -- …