JavaScriptmas is a 24-day long, daily coding challenge organized by the Norwegian online coding school, Scrimba, starting from December 1st until December 24th, 2021. It strictly consists of JavaScript exercises, as its name suggests.
In this repository I'm committing all of my solutions to this year's exercises. My last year's submissions can be viewed here.
Scrimba's Advent Calendar containing all of the exercises can be found here.
- Get today's date (only the day)
- Calculate remaining days
- Display remaining days
Solution here.
- Write a new "snow" theme
- Add the functionality to switch / toggle between "christmas" and "snow" themes
Solution here.
- Write a function to fix the UI problems with this Christmas message (change the message and switch between themes)
- Write a new theme
- Run the function when the Fix button is clicked
Solution here.
- For each item in the items array, create a div with a class of "checklist-item", which contains a checkbox input and corresponding label
- Make sure that the shopping list can render a checkbox for all the items, even if new items are added to the items array
Solution here.
- Write a function to display a random greeting, from an array, in the card.
Solution here.