Skip to content

ashish8513/30-days-javascript-leetCode-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

30 Days JavaScript Challenge

Welcome to the 30 Days JavaScript Challenge! This repository is designed to help you improve your JavaScript skills through daily coding exercises. Each day, you'll tackle a new challenge to enhance your understanding of core JavaScript concepts.

must visit this link https://leetcode.com/studyplan/30-days-of-javascript

First loading Page

Challenge Overviews Day 1: Basic Syntax Task: Write a function to print "Hello, World!" to the console. Objective: Understand basic syntax and function creation. Day 2: Variables and Data Types Task: Create a program that declares different types of variables and prints them. Objective: Learn about data types and variable declaration. Day 3: Conditional Statements Task: Implement a function that checks if a number is positive, negative, or zero. Objective: Practice using if-else statements. Day 4: Loops Task: Write a function that prints numbers 1 to 10 using a loop. Objective: Understand for and while loops. Day 5: Functions Task: Create a function that calculates the factorial of a number. Objective: Learn function definition and recursion. Day 6: Arrays Task: Write a program that finds the largest number in an array. Objective: Practice working with arrays and array methods. Day 7: Objects Task: Create an object representing a person and print its properties. Objective: Understand object creation and property access. Day 8: String Manipulation Task: Implement a function that reverses a string. Objective: Learn string methods and manipulation. Day 9: DOM Manipulation Task: Write a script that changes the background color of a webpage when a button is clicked. Objective: Practice manipulating the DOM with JavaScript. Day 10: Event Handling Task: Create a form that validates user input and displays a message when submitted. Objective: Understand event handling and form validation. Day 11-30: [Continue with more advanced topics like Promises, Async/Await, APIs, Error Handling, etc.]

First loading Page

Consistency: Try to complete each day's challenge on the assigned day. Practice: Don't hesitate to revisit challenges or seek additional resources if needed. Collaboration: Engage with the community for support and feedback.

Visual Studio

2nd days make the code

Visual Studio

Second loading Page 4th day I have found new error Today's error relates to division by zero in the Calculator class. When dividing by zero, the program correctly throws an error, but the test system is likely checking for exact logic implementation and method chaining. Fixing the issue involves ensuring all methods return this for chaining and that errors are properly handled and not re-thrown unnecessarily during chained operations.

Visual Studio

So today I am Complete my 30-days-challenges on the leetcode and I also have the code on which i have Do:

Visual Studio

Final View :last Page

Contact

For any queries, please contact me at [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published