mail@pastecode.io avatar
2 years ago
1.9 kB
    <title>Health Coaching</title>
      /* Add some style to the website */
      body {
        font-family: Arial, sans-serif;
      .container {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
      h1 {
        color: #333;
      .btn {
        background-color: #4caf50;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
      .btn:hover {
        background-color: #46a049;
    <div class="container">
      <!-- Add a header and some introductory text -->
      <h1>Welcome to Health Coaching</h1>
      <p>Are you looking to improve your health and wellbeing? Our team of certified health coaches can help you reach your goals and live a healthier life.</p>

      <!-- Add a button that opens a contact form when clicked -->
      <button class="btn" onclick="openContactForm()">Contact Us</button>

    <!-- Add a contact form that is hidden by default -->
    <div id="contact-form" style="display: none;">
        <label for="name">Name:</label><br>
        <input type="text" id="name" name="name"><br>
        <label for="email">Email:</label><br>
        <input type="email" id="email" name="email"><br>
        <label for="message">Message:</label><br>
        <textarea id="message" name="message"></textarea><br>
        <input type="submit" value="Submit">

    <!-- Add some JavaScript to toggle the visibility of the contact form -->
      function openContactForm() {
        var form = document.getElementById("contact-form");
        if (form.style.display === "none") {
          form.style.display = "block";
        } else {
          form.style.display = "none";