Table of Contents
- Hello World: Write a program to print “Hello, World!” to the console.
- Variables: Declare and initialize different data types such as numbers, strings, and booleans. Print the values to the console.
- Arithmetic: Write a program to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Conditional Statements: Write a program to use if-else statements to check if a number is positive, negative, or zero.
- Loops: Write a program to use for loops and while loops to print the numbers from 1 to 10, and to calculate the sum of numbers from 1 to 100.
- Arrays: Create and manipulate arrays, and perform operations such as sorting and searching.
- Functions: Write a function to calculate the factorial of a number, and to find the largest and smallest numbers in an array.
- Objects: Create and manipulate objects, and demonstrate the use of properties and methods.
- Closures: Write a program to demonstrate the use of closures and to create functions that return functions.
- Modules: Write programs that use CommonJS or ECMAScript modules to export and import functions and objects.
- Web Components: Use the Custom Elements API to create reusable and self-contained web components, and to use these components in web pages.
- React: Use React to build dynamic user interfaces, and to perform tasks such as rendering components, handling events, and updating the state.
- Node.js: Use Node.js to build server-side applications, and to perform tasks such as processing HTTP requests, reading and writing to the file system, and accessing databases.