JavaScript code practice

Github repositories:
https://github.com/nicholas-fong