My main goal for the new year is to master JavaScript. I am in the middle of the FreeCodeCamp course and decided to start over…