Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<html>
  <div id="beginning">
    <header id="header">
      <div id="logo">
        <h1><img id="header-img" src="https://images.immediate.co.uk/production/volatile/sites/4/2019/10/GettyImages-955549248-4323f9a.jpg?quality=90&resize=940%2C400" alt= "Mental Health Text Logo" height="100px" width="200px" >Mental Health Text </h1>
      </div>
      
      <nav id="nav-bar">
        
          <p><a class="nav-link" href= "#services">Services </a></p>
          <p><a class="nav-link" href= "#testimonial">Testimonials </a></p>
          <p><a class="nav-link" href="#packages">Packages</a></p>
        
      </nav>
    </header>
    
    <section id="newsletter">
      <div id="sub-forms">
        <strong id="signup">Sign Up to our newsletters for Mental Health Information and Mindfulness Tips</strong>
        <form id="form" action = "https://www.freecodecamp.com/email-submit">
                <div>
              <input
                name="email"
                id="email"
                type="email"
                placeholder="Enter e-mail address"
                required
              />
              <input id="submit" type="submit" value="Sign Up" class="btn" />
            </div>
          </form>
        </div>
      </section>
        <div class="container">
          <section id="services">
            <h2 class="sub-title" id="services-one">Services</h2>
            <div class="grid">
                 <div class="description">
                    <h3>Licensed Expertise</h3>
              <p>
                Licensed Therapist that can help and support you with depression, anxiety, stress, self esteem, anger, grief, relationships and trauma.
              </p>
            </div>
            </div>
              <div class="grid">
                <div class="description">
               <h3>Flexibility</h3>
                  <p> Since we have licensed therapist all over the United States we can accomodate mostly any schedule. Sessions can be held via text, phone call or video chat, whichever works for you. </p>
                </div>
            </div>
            <div class = "grid">
              <div class="description">
                <h3>Affordable</h3>
                <p> We strongly beleive that cost should not inhibit anyone from receiving the help they need. We offer some very affordable options that makes these services accessible. If you are going through financial hardship, we are able to provide temporary releif. More information on temporary releif <a href="">click here</a></p>
              </div>
            </div>
            <h2 class="sub-title" id="testimonial-video">Testimonial Video</h2>
            <section id="testimonial">
              <iframe
            id="video"
            height="315"
            width="500"
     src="https://www.youtube.com/embed/7r_-QNEzEnU"
            frameborder="0"
            allowfullscreen
          ></iframe>
        </section>
            <section id= "packages">
              <div class="service" id="fiveses">
                <div class="brief">Brief Therapy</div>
                <h4>$150</h4>
                <ol>
                  <li>5 sessions</li>
                  <li> 1 hour long sessions </li>
                  <li> Unlimited Text Access to Therapist</li>
                </ol>
                <button class="btn">Select</button>
              </div>
                <div class="service" id="tenses">
                <div class="moderate">Moderate Therapy</div>
                <h4>$300</h4>
                <ol>
                  <li>10 sessions</li>
                  <li> 1 hour long sessions </li>
                  <li> 2 video sessions </li>
                  <li> Unlimited Text Access to Therapist</li>
                </ol>
                <button class="btn">Select</button>
              </div>
                  <div class="service" id="fifteenses">
                <div class="enhanced">Enhanced Therapy</div>
                <h4>$450</h4>
                <ol>
                  <li>15 sessions</li>
                  <li> 1 hour long sessions </li>
                  <li> 5 video sessions </li>
                  <li> Unlimited Text Access to Therapist</li>
                </ol>
                <button class="btn">Select</button>
                  </div>
                  </section>
          </section>
                <footer>
                  <ul>
                    <li><a href="#">Privacy</a></li>
        <li><a href="#">Terms</a></li>
        <li><a href="#">Contact</a></li>
      </ul>
      <span>Copyright 2020, Mental Health Text</span>
    </footer>
  </div>
          
</div>
</html>
              
            
!

CSS

              
                #nav-bar {
  position: fixed;
  top: 0;
  right: 0;
  font-size: 20px;
}

#sub-forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100px;
  margin-top: 50px;
}
#signup {
  color: green;
}
h2 {
  text-align: center;
}
.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.grid {
  display: flex;
  border: solid gray;
}
#video {
  display: block;
  margin: auto;
}
.service {
  border: solid blue;
  border-radius: 30px;
  text-align: center;
  padding: 0 -100px 0 -100px;
  margin: 35px;
}
li {
  list-style: none;
  color: blue;
}
.brief {
  font-weight: bold;
  font-size: 3em;
}
.moderate {
  font-weight: bold;
  font-size: 3em;
}
.enhanced {
  font-weight: bold;
  font-size: 3em;
}
h4 {
  font-size: 2em;
  color: green;
}
button {
  border-radius: 30px;
  background-color: green;
  font-size: 1em;
}
@media {
  position: relative;
}
#newsletter {
  line-height: 200%;
}
body {
  overflow-x: hidden;
}

              
            
!

JS

              
                
              
            
!
999px

Console