Implement Day Calendar using HTML, CSS and Vanilla Javascript.
Time Duration: 120 minutes
Non-conflicting meetings
Conflicting Meeting
Demo
Sample Data: (Non-conflicting data)
[
{
startTime: "00:00",
endTime: "01:30",
color: "#f6be23",
title: "#TeamDevkode",
},
{
startTime: "4:30",
endTime: "7:30",
color: "#f6501e",
title: "#TeamDevkode",
},
{
startTime: "12:00",
endTime: "13:30",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "9:00",
endTime: "10:00",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "16:00",
endTime: "19:00",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "20:30",
endTime: "22:30",
color: "#029be5",
title: "#TeamDevkode",
},
]
Sample Data: (Conflicting data)
[
{
startTime: "00:00",
endTime: "01:30",
color: "#f6be23",
title: "#TeamDevkode",
},
{
startTime: "3:30",
endTime: "7:30",
color: "#f6501e",
title: "#TeamDevkode",
},
{
startTime: "4:30",
endTime: "8:30",
color: "#f6501e",
title: "#TeamDevkode",
},
{
startTime: "6:30",
endTime: "9:00",
color: "#f6501e",
title: "Demo",
},
{
startTime: "11:00",
endTime: "13:30",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "12:00",
endTime: "13:30",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "9:30",
endTime: "10:30",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "16:00",
endTime: "17:00",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "15:00",
endTime: "17:00",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "18:00",
endTime: "19:00",
color: "#f6501e",
title: "#TeamDevkode",
},
{
startTime: "20:30",
endTime: "22:30",
color: "#029be5",
title: "#TeamDevkode",
},
{
startTime: "20:30",
endTime: "22:30",
color: "#029be5",
title: "#TeamDevkode",
},
]
All the best :)
Telegram | Website |