NSM722 / JS-Calendar

Calendar created with vanilla JavaScript

Home Page:https://incomparable-longma-814282.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic Vanilla JavaScript and CSS Calendar

This is an interactive calendar that highlights the current day of the month in a different background color from the rest of the days of the month.

When one clicks on the previous or next button, the calendar loads the month correctly and additionally loads different advices from an API rendered at the top of the calendar.

One also has the ability to add/delete appointments/events on particular day(s).

Additionally, the days highlighted in grey('padding days') are days of the previous month that reflect in the first week of the selected month.

Under the hood, I worked on the following concepts:

  • using global CSS variables
  • CSS module imports
  • JS files imports
  • Added comments that explain what specific parts of the code achieves
  • Use of the Date-API
  • Adding/Deleting event modals
  • Using the WEB localStorage as a Database

Here's a link to the Live Demo

JS and CSS Calendar


Separate Activity

The tables folder includes a quick activity that depicts DOM manipulation whereby I created a random table with 3 rows and 3 columns, added consecutive numbers to each table cell by using a for loop and finally styled the table with CSS

About

Calendar created with vanilla JavaScript

https://incomparable-longma-814282.netlify.app/

License:MIT License


Languages

Language:JavaScript 62.5%Language:CSS 24.1%Language:HTML 13.5%