JavaScript Exercises, Practice Questions and Solutions
JavaScript Exercise covers interactive quizzes, tracks progress, and enhances coding skills with our engaging portal. Ideal for beginners and experienced developers, Level up your JavaScript proficiency at your own pace. Start coding now!
A step-by-step JavaScript practice guide for beginner to advanced level.
JavaScript Quiz
These JavaScript quizzes are suitable for both beginners and experienced developers. No registration is required to start the test. Simply choose a test and dive into JavaScript!
- Introduction to JavaScript
- Variables and Data Types
- Operators
- Control Flow
- Functions
- Objects
- Arrays
- DOM and BOM
- Event Handling
- Classes and Inheritance
- Modern JavaScript (ES6+)
- Advanced JavaScript
- Regular Expressions and JSON
- Asynchronous JavaScript
- Error Handling and Debugging
- JavaScript Practice Quiz 1
- JavaScript Practice Quiz 2
- JavaScript Practice Quiz 3
For more detail follow the article- JavaScript Quiz
Apart from these quizzes, you can also try this hands-on quiz directly on this page for a quick check of your knowledge.
JavaScript Programming Questions
Here are the list of coding questions you can solve to enhance your understanding on these specific topics in JavaScript
JavaScript String
- Convert string to integer without using parseInt() function
- Generate all combinations of a string
- Split multiline string into an array of lines
- Check whether a string is palindrome or not
- Find unique characters of a string
JavaScript Numbers
- Add float numbers
- Convert negative number to positive
- Find quotient and remainder
- Flatten an Array
- Check two numbers are approximately equal
JavaScript Functions
- Iterate over a callback n times
- Make a word count in textarea
- Find the caller function
- Override a JavaScript function
- Passing a function as a parameter
JavaScript Arrays
- Filter values from an array
- Remove specific elements from the left
- Convert 2D array to CSV string
- Count number of data types in an Array
- Remove falsy values from an array
JavaScript Objects
- Check if a value is object-like
- Convert 2D array into an object
- Iterate over a JavaScript object
- Create an object from two arrays
- Get the index of an object by its property
JavaScript Recursion
- Count pairs up to N having sum equal to their XOR
- Sort the array using slow sort
- Represent a number as sum of perfect squares
- Sum of subsets nearest to K possible from two given arrays
- Count substrings having frequency of a character
JavaScript Regular Expression
JavaScript JSON
- Read JSON File Using JS
- Parse JSON Data in JS
- Convert CSV to JSON file and vice-versa
- Send JSON object to a server
- Deserializing a JSON into a JavaScript object
For More questions follow the article-
JavaScript Projects
These are the mini projects designed specially for the Machine Coding Round in JavaScript
- Counter Application
- Prime Number Checker
- Show and Hide Password
- Palindrome Checker App
- JavaScript Carousel
- Email Validator App
- Unicode Character Value
- Random Number Generator
- Random Password Generator
Apart from these projects you can also look into other projects- Top JavaScript Projects