Working on elements for the project - JavaScript