Valentine

mail@pastecode.io avatar
unknown
plain_text
7 months ago
964 B
3
Indexable
Never
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Valentine's Day Code</title>
  <style>
    body {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      margin: 0;
      background-color: #ffe6e6; /* Light pink background color */
    }

    button {
      padding: 10px 20px;
      font-size: 18px;
      background-color: #ff6666; /* Red button color */
      color: #ffffff; /* White text color */
      border: none;
      cursor: pointer;
      border-radius: 5px;
      transition: background-color 0.3s;
    }

    button:hover {
      background-color: #ff3333; /* Darker red on hover */
    }
  </style>
</head>
<body>

<button onclick="askValentine()">Will you be my valentine?</button>

<script>
  function askValentine() {
    alert("Happy Valentine's Day! 🌹❤️");
  }
</script>

</body>
</html>
Leave a Comment