diff --git a/App.vue b/App.vue deleted file mode 100644 index caf3ad1..0000000 --- a/App.vue +++ /dev/null @@ -1,15 +0,0 @@ - - - diff --git a/api.http b/api.http deleted file mode 100644 index e98f40b..0000000 --- a/api.http +++ /dev/null @@ -1,30 +0,0 @@ -@baseUrl = http://localhost:8000 - -### Get list of events -GET {{baseUrl}}/api/events - -### Get a specific event by ID -GET {{baseUrl}}/api/events/1 - -### Create a new event -POST {{baseUrl}}/api/events -Content-Type: application/json - -{ - "name": "New Event", - "dateTime": "2021-12-31T23:59:00", - "description": "New Year's Eve Celebration" -} - -### Update an existing event -PUT {{baseUrl}}/api/events/1 -Content-Type: application/json - -{ - "name": "Updated Event Name", - "dateTime": "2021-12-31T23:59:00", - "description": "Updated Description" -} - -### Delete an event -DELETE {{baseUrl}}/api/events/1 diff --git a/index.html b/index.html index a55e7ee..1969989 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,8 @@
-

The Event Horizon App

+

The EventHorizon App

+

Track Your Important Dates and Plan Your Events Effectively

View weather at your location

diff --git a/src/js/script.js b/src/js/script.js index 801b872..419555a 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -103,7 +103,7 @@ eventDropdown.addEventListener("change", function() { setEvent("New Year", new Date(`1 Jan ${currentYear + 1}`)); break; case "10 Feb": - setEvent("Lunar New Year", new Date(`10 Feb ${currentYear}`)); + setEvent("Lunar New Year", new Date(`10 Feb ${currentYear + 1}`)); break; case "9 Nov": setEvent("My Birthday", new Date(`9 Nov ${currentYear}`)); @@ -454,7 +454,7 @@ function isPredefinedEvent(eventName) { function openEditModal() { if (isPredefinedEvent(eventTitle.textContent)) { - alert("Events like New Year or Lunar New Year cannot be edited."); + alert("Predefined events like New Year or Lunar New Year cannot be edited."); return; }