Use Javascript to solve fun problems! Head over to JSBin to get started.
- Use Javascript to generate the first N numbers of the Fibonacci sequence
1, 1, 2, 3, 5, 8, ...
- Use Javascript to calculate the factorial of a number
factorial(5) = 5 x 4 x 3 x 2 x 1
- Use Javascript to calcualte how well you'll have to do on finals to raise your grade 📉
- Use Javascript to convert text from English to Pig Latin 🐖
http://web.ics.purdue.edu/~morelanj/RAO/prepare2.html
- Use Javascript to check if a word is a palindrome
racecar; kayak; A man, a plan, a canal, Panama
-
Use Javascript to verify if a number is prime
-
Write a program to calculate the first N digits of π
-
Implement an array sort algorithm of your choice in Javascript (Bubble Sort, Quicksort, Insertion Sort, Bogosort, etc.)