Untitled

mail@pastecode.io avatar
unknown
plain_text
9 days ago
921 B
2
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Event Calendar</title>
  <link rel="stylesheet" href="styles.css">
</head>
<body>
  <div class="calendar-container">
    <div id="calendar" class="calendar"></div>
  </div>

  <div id="event-form" class="event-form">
    <h2>Add Event</h2>
    <form id="event-submit-form">
      <label for="event-date">Date:</label>
      <input type="date" id="event-date" name="event-date" required><br><br>
      <label for="event-title">Title:</label>
      <input type="text" id="event-title" name="event-title" required><br><br>
      <label for="event-color">Color:</label>
      <input type="color" id="event-color" name="event-color" value="#ff0000"><br><br>
      <button type="submit">Add Event</button>
    </form>
  </div>

  <script src="script.js"></script>
</body>
</html>
Leave a Comment