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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

              
                <body>
    <header id="header">
      <nav class="navbar navbar-expand-md navbar-light fixed-top" id="nav-bar">
        <div class="container-fluid">
          <a class="navbar-brand" href="#home"
            ><img src="https://i.postimg.cc/GhcDzwvh/enricherlogo.png" alt="enricher logo" height="50" id="header-img"
          /></a>
          <button
            class="navbar-toggler"
            type="button"
            data-bs-toggle="collapse"
            data-bs-target="#navbarCollapse"
            aria-controls="navbarCollapse"
            aria-expanded="false"
            aria-label="Toggle navigation"
          >
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="collapse navbar-collapse" id="navbarCollapse">
            <ul class="navbar-nav ms-auto mb-2 mb-md-0">
              <li class="nav-item">
                <a class="nav-link active" aria-current="page" href="#home" id="nav-link"
                  >Home</a
                >
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#features" id="nav-link">Features</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#about" id="nav-link">About</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#contact" id="nav-link">Contact</a>
              </li>
            </ul>
          </div>
        </div>
      </nav>
    </header>

    <main>
      <div class="main-container">
        <!-- Home section -->
        <div class="section" id="home">
          <div class="flex-container">
            <div id="home-top">
              <h1 id="title">Enricher FinTech: Redefining Micro-Financing</h1>
              <h2>Grow your wealth while you sleep</h2>
              <p>
                Let's create wealth together. Growing your wealth now made
                easier and flexible through savings and investment
              </p>
            </div>
            <div id="home-bottom">
              <div>
                <iframe
                  id="video"
                  width="853"
                  height="480"
                  src="https://www.youtube.com/embed/qj5LCiZvhbE"
                  title="YouTube video player"
                  frameborder="0"
                  allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
                  allowfullscreen
                ></iframe>
              </div>
              <div id="sign-up">
                <h3>Get Started</h3>
                <form
                  action="https://www.freecodecamp.com/email-submit"
                  id="form"
                >
                  <input
                    type="email"
                    name="email"
                    id="email"
                    placeholder="Enter your email"
                  />
                  <input type="submit" name="submit" id="submit" />
                </form>
              </div>
            </div>
          </div>
        </div>

        <!-- Features section -->
        <div class="section" id="features">
          <h2>What We Do</h2>
          <div class="container">
            <div class="row align-items-start">
              <div class="col-md-4">
                <div class="card">
                  <img
                    src="https://i.postimg.cc/Y280r4mM/image2.webp"
                    class="card-img-top"
                    alt="crowdfunding business image"
                  />
                  <div class="card-header">Crowdfunding</div>
                  <div class="card-body">
                    <h5 class="card-title">Looking for Business Funding?</h5>
                    <p class="card-text">
                      Enricher FinTech Makes it easy to get funding for your
                      business
                    </p>
                    <a href="#" class="btn btn-primary morebtn">Get Started</a>
                  </div>
                </div>
              </div>
              <div class="col-md-4">
                <div class="card">
                  <img
                    src="https://i.postimg.cc/KjVyKy2r/investors2.jpg"
                    class="card-img-top"
                    alt="crowdfunding business image"
                  />
                  <div class="card-header">Investment</div>
                  <div class="card-body">
                    <h5 class="card-title">Grow your Wealth</h5>
                    <p class="card-text">
                      Investment create passive source of income. Grow your
                      wealth today
                    </p>
                    <a href="#" class="btn btn-primary morebtn">Get Started</a>
                  </div>
                </div>
              </div>
              <div class="col-md-4">
                <div class="card">
                  <img
                    src="https://i.postimg.cc/pTLNqdVJ/istockphoto-1152012375-170667a.jpg"
                    class="card-img-top"
                    alt="crowdfunding business image"
                  />
                  <div class="card-header">Flexible Savings</div>
                  <div class="card-body">
                    <h5 class="card-title">Achieve your goal!</h5>
                    <p class="card-text">
                      Enricher Flexible Saving:helps you save to own a car,
                      house, start business, education and more
                    </p>
                    <a href="#" class="btn btn-primary morebtn">Get Started</a>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>

        <!-- about section -->
        <div class="section" id="about">
          <h2>Who We Are</h2>
          <h3>Enricher FinTech we're redefining mircro-financing</h3>
          <p>
            Your finacial freedom is our vision. As a company we provide you
            with financial solution that grow your wealth and help you to
            achieve any set financial goal.
          </p>
        </div>

        <!-- Contact us section -->
        <div class="section" id="contact">
          <h2>Get in Touch</h2>
          <div class="container">
            <div class="row">
              <div class="col-md-6">
                <img
                  id="contact-img"
                  src="https://i.postimg.cc/yNWtZbLL/enricheroffice.png"
                  alt="contact us image"
                />
              </div>
              <div class="col-md-6">
                <p>We love to hear from you.</p>
                <form action="" id="contact-form">
                  <label for="name">Name:</label>
                  <input
                    type="text"
                    name="name"
                    id="name"
                    placeholder="Profsain Hussein"
                  />
                  
                  <label for="email">Email:</label>
                  <input
                    type="email"
                    name="email"
                    id="contact-email"
                    placeholder="profsain@gmail.com"
                  />
                  <label for="message">Your Message</label>
                  <textarea
                    name="message"
                    id="message"
                    cols="30"
                    rows="10"
                    placeholder="Enter your message here...."
                  ></textarea
                  >
                  <input type="submit" name="submit" id="submit" />
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </main>

    <!-- Bootstrap JavaScript -->
    <!-- JavaScript Bundle with Popper -->
    <script
      src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"
      integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
      crossorigin="anonymous"
    ></script>
  </body>
              
            
!

CSS

              
                body {
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
}

.navbar {
  padding-right: 40px;
  background-color: rgb(255, 255, 255);
  font-size: 2vm;
  text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-item .nav-link {
  color: orange;
  font-weight: 600;
}
.active {
  color: blueviolet !important;
}

.main-container {
  padding: 90px 0px 24px 0px;
  background-color: rgb(53, 8, 71, 0.8);
  color: white;
}

.section {
  margin-top: 46px;
  text-align: center;
}

.flex-container {
  display: flex;
  flex-flow: column;
  text-align: center;
  justify-content: center;
}

#title {
  margin: 16px;
  text-transform: uppercase;
  /* font-size: 3rem; */
  color: rgb(247, 168, 43);
}

#sign-up {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 24px;
}

form {
  margin-left: 18px;
}

#email {
  padding: 6px;
  width: 35vw;
  font-size: 1.5vw;
}

#submit {
  padding: 6px;
  width: 15vw;
  font-size: 1.5vw;
  text-transform: uppercase;
  font-weight: 600;
  background-color: rgb(247, 168, 43);
  color: white;
   border: 2px solid rgb(255, 254, 254);
  border-radius: 10px;
}
#submit:hover {
  background-color: blueviolet;
}

@media only screen and (max-width: 600px) {
  iframe {
    width: 400px;
    height: 200px;
  }
}

p {
  padding: 16px;
  font-size: 24px;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  color: rgb(247, 168, 43) !important;
}
#about {
  padding: 68px;
  background-color: rgb(247, 244, 244);
  color: black;
}

#features {
  padding-top: 24px;
  background-color: white;
  color: black;
}

.card-img-top {
  height: auto;
  width: 100%;
}

.morebtn {
  background-color: rgb(247, 168, 43) !important;
  color: white !important;
   border: 2px solid white !important;
  border-radius: 10px;
  font-weight: 600 !important;
}

.morebtn:hover {
  background-color: blueviolet !important;
}

#contact-form {
  display: flex;
  flex-direction: column;
  text-align: start;
  font-size: 24px;
}

input {
  padding: 8px;
   border: 2px solid rgb(255, 255, 255);
  border-radius: 10px;
}

textarea {
  margin-bottom: 30px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 10px;
}

label {
  padding: 8px;
  color: rgb(247, 168, 43);
  font-weight: 500;
}
#contact-img {
  height: auto;
  width: 100%;
  margin-top: 150px;
}

              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console