Callbacks in JavaScript: Why They Exist ?
What are Functions in JavaScript Think of a function as a reusable block of code that can perform a specific task and can be used multiple times by the user. We use them to avoid repeating code, makin
Search for a command to run...
Articles tagged with #chaiaurcode
What are Functions in JavaScript Think of a function as a reusable block of code that can perform a specific task and can be used multiple times by the user. We use them to avoid repeating code, makin
In JavaScript, strings are declared by enclosing text in single quotes, double quotes, or backticks(template literal), and assigned to a variable using var, let, or const. Example: String Literal (Tra
What is an Array ? An Array is an ordered collection of values. The values can be any of the data types like number,string ,object,symbol, arrays etc. Think of it like a fruit of basket having differe
Browser Events Any actions that is performed on the webpage which can be detected with the help of JavaScript and act on it are known as Browser events. An event can be triggered by a user action, lik

Modules in JavaScript Let's try to break the concept of a module with a real-life example. Suppose there is a Ticket Booking app. If the developer has put all the code of the app in one file, then the
What is DOM ? The DOM ( Document Object Model ) is a tree representation of a HTML code. When a webpage loads into a browser then the HTML code is turned into a tree like structure which allows a dev