<html lang="en">

<head>
  <title>RF Travel Landing Page</title>
</head>

<div id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
    <header id="header">
      <nav id="nav-bar" class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top"> 
      <a class="navbar-brand" href="#home"><img id="header-img" src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/RFTSmallIcon.png' alt=''> R.F. Travel Services</a>
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
       <span class="navbar-toggler-icon"></span>
     </button>
      <!--End Toggle Button-->
      <div class="collapse navbar-collapse text-center px-2" id="navbarNav">
        <ul class="navbar-nav">
          <li class="nav-item active">
            <a class="nav-link" href="#header">Home</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#about">About Us</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#video">Video</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#trips">Destinations</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#social-icons">Follow Us</a>
          </li>
        </ul>
      </div>
    </nav>
    <!--End Navbar-->
  </header>
  <!--End Header-->

  <div class="jumbotron d-flex flex-column align-items-center text-center m-auto">
    <h1 class="w-50">Welcome <br>to <br>R.F. Travel Services</h1>
    <h5 class="w-50">Let our escapes be the key to your relaxation!</h5>
    <form id="form" class="w-50" action="https://www.freecodecamp.com/email-submit" name="email">
      <div class="input-group-sm input-group-append">
        <input id="email" type="email" name="email" class="form-control" size="50" placeholder="Email Address" required>
        <input type="submit" id="submit" class="bg-secondary" value="Submit" style="width:130px;">
      </div>
    </form>
  </div>
  <!--End Jumbotron-->

  <!--About Section-->
  <div id="about" class="company container-fluid">
    <div class="row">
      <div class="col-lg-8 col-md-12 col-sm-12 col-xs-12">
        <h2 class="about-title">About R. F. Travel Services</h2>
        <h5 class="about-intro text-muted">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </h5>
        <p class="about-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p><br>
      </div>
      <!--Company-->
      <div class="company col-lg-4 col-md-12 col-sm-12 col-xs-12">
        <img class="img-fluid m-1 p-1" width="100%" height="100%" src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/RFTravelLogo.png' alt='R.F. Travel Services Logo'>
      </div>
    </div>
  </div>
  <!--End About Section-->

  <!--Video Section-->
  <div class="container-fluid bg-grey">
    <div class="row">
      <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12 embed-responsive embed-responsive-16by9">
        <iframe id="video" class="embed-responsive-item" width="560" height="315" src="https://www.youtube.com/embed/YbU9qrHwpVg" allow="autoplay; encrypted-media" allowfullscreen></iframe>
      </div>
      <div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
        <h2 class="video-title">Caribbean Islands</h2>
        <h5 class="video-intro text-muted">Welcome to the Caribbean Islands!</h5>
        <p class="video-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
      </div>
      <!--End Video Lead-->
     </div><!--End Video Row-->
    </div><!--End Video Container-->
    
  </div>


  <!--Trip Container-->
  <div id="trips" class="container-fluid">
      <div class="trip-section-title">
        <h2 class="trip-title">Destinations</h2>
        <h5 class="trip-intro text-muted">Some of our top excursions!</h5>
    </div>
    <div class="card-deck">
      <div class="row">
        <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
          <div class="card thumbnail">
            <img class="card-img-top" src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/JamaicaRF.jpg' alt='Jamaica'>
            <div class="card-body">
              <h5 class="card-title">Jamaica</h5>
              <p class="card-text">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </div>
            <!--End Card Body-->
            <div class="card-footer">
              <button class="btn btn-default btn-secondary">Visit Jamaica..</button>
            </div>
          </div>
          <!--End Jamaica Card-->
        </div>

        <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
          <div class="card thumbnail">
            <img class="card-img-top" src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/TurksCaicosRF.jpg' alt='Turks and Caicos'>
            <div class="card-body">
              <h5 class="card-title">Turks and Caicos</h5>
              <p class="card-text">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
                exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </div>
            <!--End Card Body-->
            <div class="card-footer">
              <button class="btn btn-default btn-secondary">Visit Turks & Caicos..</button>
            </div>
          </div>
          <!--End Turks and Caicos Card-->
        </div>

        <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
          <div class="card thumbnail">
            <img class="card-img-top" src='https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/GrenadaSeaViewRF.jpg' alt='Grenada'>
            <div class="card-body">
              <h5 class="card-title">Grenada</h5>
              <p class="card-text">Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
                exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </div>
            <!--End Card Body-->
            <div class="card-footer">
              <button class="btn btn-default btn-secondary">Visit Grenada..</button>
            </div>
          </div>
          <!--End Grenada Card-->
        </div>
      </div>
      <!--End Row-->
    </div>
    <!--End Card Deck-->
  </div>
  <!--End Trip Section-->

  <!--Begin Contact Section-->
  
  
  <!--Begin Footer Section-->
  <footer class="container-fluid d-flex flex-row align-items-center col-md-12 col-sm-12 col-xs-12">
    
    <div id="social-icons" class="mt-1">
      <a href="#"><i class="fa fa-twitter"></i></a>
      <a href="#"><i class="fa fa-github"></i></a>
      <a href="#"><i class="fa fa-free-code-camp"></i></a><br>
      <p>R.F. Travel Services</p>
    </div>
    
    <div id="topcaret">
      <a href="#myPage" title="Back To Top"><i class="fa fa-caret-up"><p>Back to the Top</p>
      </i></a>
    </div>
    
    <div id="copyright">
      <p><i class="fa fa-copyright"></i> 2018 T.Lanette Pollard for <br><a href="www.rogetfreelancing.com">Roget Freelancing</a></p>
    </div>
  </footer> 
  
 

  <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
  
  <script>
    $(document).ready(function() {
      //Adds smooth scrolling to all links in navbar + footer link
      $(".navbar a, footer a[href='#myPage']").on('click', function(event) {
        //Make sure this.hash has a value before overriding default behavior
        if (this.hash !== "") {
          //Prevent default anchor click behavior
          event.preventDefault();
          //Store hash
          var hash = this.hash;
          //Using jQuery's animate() method to add smooth page scroll
          // The optional number (900) specified area
          $('html, body').animate({
            scrollTop: $(hash).offset().top
          }, 900, function() {
            //Add has (#) to URL when done scrolling (default click behavior)
            window.location.hash = hash;
          });
        } //End if 
      });
      $(window).scroll(function() {
        $(".slideanim").each(function() {
          var pos = $(this).offset().top;
          var winTop = $(window).scrollTop();
          if (pos < winTop + 600) {
            $(this).addClass("slide");
          }
        });
      });
    });
  </script>
</body>

</html>

<!-- 

Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->
/* Colors: ffffe3, f7f7f7, 5c636e, f8b500, #00d1ff, ffdfdf, fb929e, aedefc, fff6f6, 393e46, 612c83, 40a8c4, 509aaf;
Colors Used: cacaca, 40a8c4, copyright, 87e0ff, ffffe3
Fonts: @import url('https://fonts.googleapis.com/css?family=Fontdiner+Swanky|Montserrat'); 
font-family: 'Fontdiner Swanky', cursive;
font-family: 'Montserrat', sans-serif; font-family: 'Indie Flower', cursive;*/


* {
 /* outline: 1px solid black; */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} 

html {
 background-color: ;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font: 400 'Montserrat', sans-serif;
  line-height: 1.8;
  background-color:;
}

h1 {
  font-family: 'Indie Flower', cursive!important;
}

h2 {
  font-size: 24px;
  text-transform: uppercase;
  color:;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px; 
}

h5 {
  font-size: 22px;
  line-height: 1.375em;
  color:;
  font-weight: 400;
  margin-bottom: 20px;
}

h5.follow-social {
  font-size: 22px;
  
}

/*Header & Nav*/
.navbar {
  margin-bottom: 0;
  z-index: 9999;
  border: 0;
  line-height: 1.5!important;
  letter-spacing: 4px;
  border-radius: 0;
  font-family: Montserrat, sans-serif;
  font-size: 14px!important;
}



.navbar li a, .navbar .navbar-brand {
  color: #fff!important;
}

 li a:hover, li.active a {
   color: black!important;
  background-color: #ffffe3!important;
}

.navbar-toggler {
  border-color: transparent!important;
  color: #fff!important;
}


.bg-dark {
  background-color: #40a8c4!important;
}
.bg-grey {
  background-color: #cacaca;
}

/* Jumbotron */
.jumbotron {
  color: white;
  background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1148131/beach-1236581_1920.jpg);
  background-position: center;
  background-repeat: no repeat;
  background-size: cover;
  padding: 150px 25px;
}

#email {
  border-radius: 5px 0 0 5px!important;
}


.container-fluid {
  padding: 60px 50px;
}

/*About Section*/
h2.about-title {
  margin-top: 20px;
  
}

.about-title, .about-intro, .about-text {
  margin: 20px 60px;
}

/*Video Section*/
.video-title, .video-intro, .video-text {
  margin: 20px 60px;
}

#video {
  margin: 30px auto;
}

/*Trip Section*/

.trip-title, .trip-intro, {
  margin: 20px 60px;
}

h2.trip-title {
  margin-top: 10px;
  
}
.card-deck {
  
}

.card {
  border: 1px solid #1d97c1!important;
  border-radius: 0!important;
  transition: box-shadow 0.5s;
}
.card:hover {
  box-shadow: 5px 0px 40px rgba(0,0,0,.2);
}

.card-footer  {
  background-color: white;
  
}

.btn-secondary {
  background-color: #1d97c1;
  font-size: 16px!important;
}
.card-footer .btn:hover {
  border: 1px solid black;
  background-color: #fff!important;
  color: #1d97c1;
}

.card-title {
  color: black!important;
  font-weight: 700;
  background-color: #ffffe3;
  padding: 5px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.thumbnail {
  padding: 0 0 15px 0;
  border: none;
  border-radius: 0;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}



/*Footer*/
footer {
  display: flex;
  justify-content: space-between;
  background: #1d97c1;
  
}

#social-icons i.fa {
  padding: 10px 30px;
 /* border: 1px gray solid;*/
  font-size: 40px;
  color: #ffffe3;
}

#social-icons p {
  font-size: 18px;
  color: #ffffe3;
}
#copyright p {
  font-size: 12px;
}

#copyright a {
  color: #ffffe3;
}
.fa-caret-up {
  font-size: 26px!important;
  margin-bottom: 20px;
  color:  #ffffe3;
}
footer p {
  font-size: 14px;
  text-align: center;
}
footer div a {
  text-align: center;
}

/*Media Queries*/

@media screen and (max-width: 991.98px){
  div.company {
    display: flex!important;
    flex-direction: column!important;
     justify-content: center!important;
    align-items: center;
  }
  .img-fluid {
    width: 50%;
  } .card {
    width: 80%;
    margin: auto!important;
    margin-bottom: 40px!important;
  } .card-deck {
    margin-top: 50px;
  }
}

@media screen and (max-width: 1199.98){
  div.card-footer {
    text-align: left!important;
  }
}
Run Pen

External CSS

  1. https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
  2. https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/holder/2.9.4/holder.min.js
  2. https://code.jquery.com/jquery-3.3.1.slim.min.js
  3. https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js
  4. https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js