Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
evitajain15
/
JavaScript-Problems-and-Solution
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
master
Branches
Tags
Go to file
Code
Open more actions menu
Latest commit
History
2 Commits
2 Commits
Folders and files
Name
Name
Last commit message
Last commit date
2LowestN2LargestNoInArr.html
2LowestN2LargestNoInArr.html
Animation1.html
Animation1.html
ArrayMethods.html
ArrayMethods.html
Calculates and returns the sum of array items.html
Calculates and returns the sum of array items.html
ClockClassToModern“class”Syntax.html
ClockClassToModern“class”Syntax.html
ClockClassWrittenInfuncRewriteUsingPrototypes.html
ClockClassWrittenInfuncRewriteUsingPrototypes.html
CreateAColoredClock.html
CreateAColoredClock.html
CreateASlider.html
CreateASlider.html
CreateButtonThatHidesItselfOnclick.html
CreateButtonThatHidesItselfOnclick.html
CreateDecoratorSpy(func)ThatReturnAWrapperThatSavesAllCallsToFunc.html
CreateDecoratorSpy(func)ThatReturnAWrapperThatSavesAllCallsToFunc.html
CreateDivThatTurnsIntoTextareaWhenClicked.html
CreateDivThatTurnsIntoTextareaWhenClicked.html
CreateFuncThatShowsAnimatedGrowingCircle.html
CreateFuncThatShowsAnimatedGrowingCircle.html
CreateFuncThatTakesExpressionAndReturnsArrayOf3Items.html
CreateFuncThatTakesExpressionAndReturnsArrayOf3Items.html
CreateImageGalleryWhereMainImgChangesByClickOnThumbnail.html
CreateImageGalleryWhereMainImgChangesByClickOnThumbnail.html
CreateInterfaceAllowsToEnterASumOfBankDeposit&%,CalculatesITAfterTimeOfPeriod.html
CreateInterfaceAllowsToEnterASumOfBankDeposit&%,CalculatesITAfterTimeOfPeriod.html
CreateJS-codeForTooltipBehavior.html
CreateJS-codeForTooltipBehavior.html
CreateMenuThatOpensCollapsesOnclick.html
CreateMenuThatOpensCollapsesOnclick.html
DemonstrateBehaviorOfEvent bublingAnd capturing.html
DemonstrateBehaviorOfEvent bublingAnd capturing.html
FindAllHTMLCommentsInText.html
FindAllHTMLCommentsInText.html
FindErrorInPrototypalInheritance.html
FindErrorInPrototypalInheritance.html
FindWaysInWhichOneCanMergeTheArrays.html
FindWaysInWhichOneCanMergeTheArrays.html
FuncThatUsesNestedSetTimeoutToSplitJobIntoPieces,rewriteUsingSetInterval.html
FuncThatUsesNestedSetTimeoutToSplitJobIntoPieces,rewriteUsingSetInterval.html
HtmlthroughJS.html
HtmlthroughJS.html
Implement a linked list.html
Implement a linked list.html
JSON.stringify2.html
JSON.stringify2.html
MakeBouncingBall.html
MakeBouncingBall.html
MakeTableCellsEditableOnclick.html
MakeTableCellsEditableOnclick.html
MakeTableSortable.html
MakeTableSortable.html
MakeTheBallBounceToTheRight.html
MakeTheBallBounceToTheRight.html
ModifyCodeOfUpAndDownToMakeTheCallsChainable.html
ModifyCodeOfUpAndDownToMakeTheCallsChainable.html
ModifyCodeSoThatCounterCanDecreaseAndSetNo.html
ModifyCodeSoThatCounterCanDecreaseAndSetNo.html
MoveBallAcrossFieldToAClick.html
MoveBallAcrossFieldToAClick.html
NoIsPerfectOrNot.html
NoIsPerfectOrNot.html
NoIsPrimeOrNot.html
NoIsPrimeOrNot.html
NumberSorting.html
NumberSorting.html
Output a single-linked list.html
Output a single-linked list.html
Promise1.html
Promise1.html
PromisesChainingUsingAsyncAwait.html
PromisesChainingUsingAsyncAwait.html
RegExpThatMatchesColorsIn#abcOr#abcdef.html
RegExpThatMatchesColorsIn#abcOr#abcdef.html
StringSorting.html
StringSorting.html
TreeStructuredAsNestedUl&Li,CodeForEachLi.html
TreeStructuredAsNestedUl&Li,CodeForEachLi.html
Use closures to create a function to implement a counter.html
Use closures to create a function to implement a counter.html
accepts a string as a parameter and counts no of vowels inthe string.html
accepts a string as a parameter and counts no of vowels inthe string.html
accepts a string as a parameter and find longest word inthe string.html
accepts a string as a parameter and find longest word inthe string.html
accepts2args,aString,aLetter&funcWillCountTheNoOfOccurrencesOfSpecifiedLetterInstring.html
accepts2args,aString,aLetter&funcWillCountTheNoOfOccurrencesOfSpecifiedLetterInstring.html
acceptsStringAsParameterAndConvertsFirstLetterInUpperCase.html
acceptsStringAsParameterAndConvertsFirstLetterInUpperCase.html
animation2.html
animation2.html
arraymethod1.html
arraymethod1.html
arraymethod2.html
arraymethod2.html
async&await.html
async&await.html
binarySearch.html
binarySearch.html
bubbleSortAlgo.html
bubbleSortAlgo.html
calculate the sum of the salaries from the object.html
calculate the sum of the salaries from the object.html
calculatorWithDiffMethods.html
calculatorWithDiffMethods.html
callback argument1.html
callback argument1.html
camelizeDashSeperated.html
camelizeDashSeperated.html
codeErrorIssue.html
codeErrorIssue.html
codeIssueOfInheritance.html
codeIssueOfInheritance.html
codeThatAddsTo each li the No of its descendants.Skip leaves.html
codeThatAddsTo each li the No of its descendants.Skip leaves.html
codeToSortTableByNameColumn.html
codeToSortTableByNameColumn.html
combineNoOfGivenArrayIntoAnArrayContainingAllCombinations.html
combineNoOfGivenArrayIntoAnArrayContainingAllCombinations.html
compare2ObjsToDetermineIf1oneContainsEquivalentPropertyValuesTo2one.html
compare2ObjsToDetermineIf1oneContainsEquivalentPropertyValuesTo2one.html
compute the value of bn where n is the exponent and b is the bases.html
compute the value of bn where n is the exponent and b is the bases.html
constructionFuncAccumlator.html
constructionFuncAccumlator.html
constructionFuncCalculator.html
constructionFuncCalculator.html
constructor1.html
constructor1.html
conversion.html
conversion.html
convertAmtToCoins.html
convertAmtToCoins.html
convertCSVto2DArrayObjs.1rowOfStringIsUsedAsTitleRow.html
convertCSVto2DArrayObjs.1rowOfStringIsUsedAsTitleRow.html
convertLengthIntoBytes.html
convertLengthIntoBytes.html
convertValueToSafeInt.html
convertValueToSafeInt.html
convertsArrayOfObjsIntoAnArrayOfNames.html
convertsArrayOfObjsIntoAnArrayOfNames.html
convertsCSVstringTo2DArray.html
convertsCSVstringTo2DArray.html
convertsSpecifiedNoToArrayOfDigits.html
convertsSpecifiedNoToArrayOfDigits.html
createAListFromUserInput.html
createAListFromUserInput.html
createCalendar(elem, year, month).html
createCalendar(elem, year, month).html
createNewArrOutOfThe2SuppliedByCreatingPossiblePairFromTheArrays.html
createNewArrOutOfThe2SuppliedByCreatingPossiblePairFromTheArrays.html
createNewRabbit,andThenModifyItsPrototype.html
createNewRabbit,andThenModifyItsPrototype.html
creates a pair of objects, then modifies them.html
creates a pair of objects, then modifies them.html
createsANotification.html
createsANotification.html
dcapitalizeFirstLetterOfString.html
dcapitalizeFirstLetterOfString.html
docWithTable&Form,FindFieldsOfForm.html
docWithTable&Form,FindFieldsOfForm.html
errorIssue2.html
errorIssue2.html
errorIssue3.html
errorIssue3.html
extend3-digitColorCodeTo6-digit.html
extend3-digitColorCodeTo6-digit.html
extract unique characters from a string.html
extract unique characters from a string.html
extractOutValuesAtSpecifiedIndexesFromSpecifiedArray.html
extractOutValuesAtSpecifiedIndexesFromSpecifiedArray.html
filter.html
filter.html
filterOutNon-uniqueValuesInArray.html
filterOutNon-uniqueValuesInArray.html
filterOutTheElementOfAnGivenArray.html
filterOutTheElementOfAnGivenArray.html
find and return the second largest number in nums.html
find and return the second largest number in nums.html
findEveryElementThatExistsInAnyOfTheTwoGivenArrays.html
findEveryElementThatExistsInAnyOfTheTwoGivenArrays.html
firstNotRepeatedChar.html
firstNotRepeatedChar.html
formatDate.html
formatDate.html
funcCount(obj)ThatReturnsNoOfPropertiesInObject.html
funcCount(obj)ThatReturnsNoOfPropertiesInObject.html
funcFactorial(n)ThatCalculates n! UsingRecursiveCalls.html
funcFactorial(n)ThatCalculates n! UsingRecursiveCalls.html
funcSetTimeoutUsesCallbacks.CreatePromise-basedAlternative.html
funcSetTimeoutUsesCallbacks.CreatePromise-basedAlternative.html
funcThat returns the sum of all salaries using Object.html
funcThat returns the sum of all salaries using Object.html
funcThatCalculatesSumOfNo1 + 2 + ... + n.html
funcThatCalculatesSumOfNo1 + 2 + ... + n.html
funcThatChecksLengthOfStr,IfItExceedsMaxlength–replaceEndOfStrWithEllipsisCharacter(..).html
funcThatChecksLengthOfStr,IfItExceedsMaxlength–replaceEndOfStrWithEllipsisCharacter(..).html
View all files
About
This repo consists of JavaScript Problems and solutions
Activity
Stars
2
stars
Watchers
1
watching
Forks
0
forks
Report repository
Releases
Packages
Contributors
Languages
You can’t perform that action at this time.