Flatten a nested array using javascript
You can loop through the array entries, check if it’s an array with isArray() and recursively flatten the entries of the array as below:
Flatten a nested array using javascript Read More »
You can loop through the array entries, check if it’s an array with isArray() and recursively flatten the entries of the array as below:
Flatten a nested array using javascript Read More »
What is a palindrome? Palindrome is a word or phrase which reads same if reversed. For example – if we reverse Racecar it will read the same both backward or forwards. A few examples of words that are palindrome are Noon, Racecar, Wow, Refer, etc.
Check if a string is a palindrome or not using javascript Read More »
Convert string into an url slug using javascript
Convert string into an url slug using javascript Read More »
Sort an array using javascript
Sort an array using javascript Read More »
A laravel movie search application using Vue JS, Vue Composition API and OMDBAI API. OMDBAI is used to fetch the movies data from https://www.omdbapi.com/ Requirements Installation You will need to gety API key from the OMDb API and update in /resources/js/components/movieapi/movie-api.js file Once you are done with the above steps, now its time to start building the movie
Make every first letter of a word capitalized
Make every first letter of a word capitalized in a sentence using javascript Read More »
Convert Celsius to Fahrenheit using javascript
Convert Celsius to Fahrenheit using javascript Read More »
Fizz Buzz Print the numbers from 1 to 100. Multiples of three print “Fizz” with the number and for the multiples of five print “Buzz” with the number. If number is multiples of both three and five display “FizzBuzz” and number.
Fizz Buzz Test using javascript Read More »