Javascript homework 1

I don't know if it's easier for you but I put the 3 exercises on the same file :)