Pen Settings



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


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


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.


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.


                <script src=""></script>
<header id="header">
  <img id="header-img" src="" alt="Care Foundation">

  <nav id="nav-bar">
      <li> <a class="nav-link" href="#our-mission">Our Mission</a></li>
      <li> <a class="nav-link" href="#documentry">Our Documentry</a></li>
      <li> <a class="nav-link" href="#contact-us">Contact Us</a></li>
<div id="sections">
  <section id="our-mission">
    <h2 id="mission-head">Our Mission</h2>
    <p id="mission-desc">Since 1988, CARE Foundation, Pakistan’s largest non-profit for education, has been on a mission to provide a quality and marketable education to all. We view our work as nation-building. By empowering our children with a good education, we aim to
      make them productive members of society. We believe that one day; these children will help build a happier and more prosperous nation.</p>

      <section id="documentry">
        <h2 id="documentry-desc">Watch Our Documentry Below</h2>
        <iframe id="video" src="" allowfullscreen></iframe>

      <section id="contact-us">
        <h2 id="contact">Contact Us</h2>
        <p id="mobile">By Mobile#: 0343-4363672, By Email:</p>
    <div id="emailform">
      <form id="form" action="">
        <input type="email" id="email" name="email" placeholder="subscribe for news-letter" required/>
        <input type="submit" id="submit" value="Submit"/>



                * {
  padding: 0;
  margin: 0;
  background-color: lightgrey;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: fixed;
  width: 100%;

  width: 80px;
  height: 80px;

  list-style: none;
  display: flex;
  position: left;

  text-decoration: none;
  display: block;
  padding: 10px;
  margin-right: 20px;
  color: black;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: 0.5s ease;

  background-color: lightgreen;

  text-align: center;
  padding: 100px;

 margin: 30px 0 20px 0;

  text-align: center;
  width: 50%;
  margin: auto;
  line-height: 1.5;
  margin: auto;
  width: 500px;
  height: 500px;
  display: flex;
  text-align: center;
@media (max-width: 350px) {
    width: 250px;
    height: 250px;

  width: 50%;
  height: 20px;
  margin: 10px 0 20px 0;

	position: relative;
	display: block;
	padding: 19px 39px 18px 39px;
	color: #FFF;
	margin: 0 auto;
	background: #1abc9c;
	font-size: 18px;
	text-align: center;
	font-style: normal;
	width: 50%;
	border: 1px solid #16a085;
	border-width: 1px 1px 3px;
	margin-bottom: 10px;
	background: #109177;