Here’s an example of a simple for loop that prints the numbers from 1 to 10: Example that loops through an array and prints each element:
Get the current date in JavaScript
To get the current date in JavaScript, you can use the Date object. Here is a simple example: This code will output the current date in the format YYYY-MM-DD.
Best ERP Systems in 2025
Last update:
Best Java Frameworks You Should Know (2024 list)
popular Java frameworks:
List of Top 10 JavaScript Frameworks for 2025
Last update:
JavaScript typeof
In JavaScript there are 5 different data types that can contain values: There are 6 types of objects: And 2 data types that cannot contain values: JavaScript typeof ============== typeof “John” // Returns “string” typeof 3.14 // Returns “number” typeof NaN // Returns “number” typeof false // Returns “boolean”
JavaScript Let
Variables declared with let have Block Scope Variables declared with let must be Declared before use Variables declared with let cannot be Redeclared in the same scope JavaScript Let ========== let x = 1; { let x = 2; document.getElementById(“d2”).innerHTML = x; } { let x = 3; document.getElementById(“d3”).innerHTML = x; } document.getElementById(“d1”).innerHTML = x;
Visual studio code -Code Spell Checker
Spelling Checker for Visual Studio Code A basic spell checker that works well with code and documents. The goal of this spell checker is to help catch common spelling errors while keeping the number of false positives low.
How to use Prettier in VS Code – Code Formatting
In this video I will show you how to install and configure Prettier Code Formatter in VS Code. Formatting code consistently can be a challenge, particularly when working on a team. Code formatters like prettier can help solve this issue. Consistent code formatting helps with the readability of a project. Learn how to setup VS […]
Visual Studio Code – open in browser
This allows you to open the current file in your default browser or application.