0% found this document useful (0 votes)
5 views1 page

Ques

Uploaded by

mishalaslam17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Ques

Uploaded by

mishalaslam17
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Basic Logic

Write a function to check if a number is even or odd.


Create a function to calculate the sum of all numbers in an array.
Write a program to find the maximum and minimum values in an array.
Create a function to check if a string is a palindrome.
Write a function to convert Celsius to Fahrenheit.

Arrays and Objects

Write a function to filter out duplicate values from an array.


Create a function to merge two objects.
Write a function to find the index of a specific value in an array.
Create a function to sort an array of objects by a specific property.
Write a function to flatten a nested array.

DOM and Events

Write a function to add an event listener to a button and log a message on click.
Create a function to create and append a new element to the DOM.
Write a function to toggle a class on an element.
Create a function to get the value of a text input field.
Write a function to remove an element from the DOM.

Intermediate Challenges

Write a function to implement a stopwatch (start, stop, reset).


Create a function to validate a form with name, email, and password fields.
Write a function to create a to-do list app with CRUD operations.
Create a function to implement a carousel/slider.
Write a function to create a responsive navigation menu.

Advanced Challenges

Write a function to implement infinite scrolling.


Create a function to build a responsive grid system.
Write a function to create a drag-and-drop feature.
Create a function to implement a search autocomplete feature.
Write a function to create a chart/graph using a library like Chart.js.

You might also like