A collation of all my JS projects, from beginner to advanced. My implementations of some of the ideas found in the Mega Project List: https://github.com/karan/Projects.
A simple program that allows you to enter how many significant digits of PI you want to see and displays the results. A simple program that allows you to enter how many significant digits of e you want to see and displays the result. A simple program that allows you to enter the nth Fibonacci sequence number you want to see and displays the result. It uses a recursive algorithm to calculate the chosen nth Fibonacci number.A simple program that uses a checksum algorithm to work out whether the credit card number input by the user is valid.
An implementation two sorting algorithms, one for merge sort and the other for bubble sort, both using recursion. Both print out the sorted array to the console - might add user input and output result to the page later.
A simple program that allows the user to enter the number they'd like to perform the Collatz Conjecture algorithm on. It uses a recursive algorithm and displays the calculation step by step to reach 1.
A simple program, that returns an array with "Fizz" in place of multiples of three,
"Buzz" in place of multiples of five, and the number otherwise. The user can enter
the length of the array they'd like to see, from 1 to 100.
A simple program that converts some user input text into Pig Latin. It uses regular expressions to apply the Pig Latin rules to the words.
This program keeps track of product inventory. It's implemented using ES5 classes in JavaScript, and uses local storage to store and load the products. I'll implement adding, removing, and updating products at some point.