GithubHelp home page GithubHelp logo

dharmik3 / calendar Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 60 KB

The calendar is created without using the external library.

Home Page: https://calendar-dharmik3s-projects.vercel.app/

License: MIT License

JavaScript 5.59% HTML 4.70% TypeScript 62.58% CSS 27.13%
calender css grid-layout reactjs

calendar's Introduction

The Calendar is developed without using the external library

Tech stack used

  • React + Typescript
  • CSS

Calendar Features

This calendar interface provides a user-friendly way to view and navigate dates. Below are the key functionalities:

1. Month and Year Display:

  • Displays the current month and year at the top left (e.g., "July 2024").

2. Date Navigation:

  • Today Button: Quickly navigate back to the current date.
  • Previous and Next Month Buttons: Navigate to the previous or next month using the "<" and ">" buttons.

3.Weekdays Header:

  • Lists the days of the week from Sunday to Saturday at the top of the calendar grid.

4. Calendar Grid:

  • Displays all the days of the current month in a grid format.
  • Each cell represents a day, organized in weekly rows starting from Sunday and ending on Saturday.
  • Days from the previous or next month are either left blank or grayed out to focus on the current month.

5. Current Date Highlight:

  • Highlights the current date with a distinctive red circle for easy identification.

How to setup locally

Prerequisites

  • Node.js (Ensure you have Node.js installed)

Installation

  1. Clone the repository

    git clone hhttps://github.com/Dharmik3/calendar.git
  2. Navigate to the project directory

    cd calendar
  3. Install dependencies

    npm install
  4. Start the application

    npm run dev
  5. Open your browser and navigate to

    http://localhost:5173/

    Note: If already other app is running on this (5173) port then see the terminal, that will start the app in another port , so kindly navigate to that url and port

calendar's People

Contributors

dharmik3 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.