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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <!-- bootstrap css -->
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <!-- main css -->
    <link rel="stylesheet" href="css/main.css" />
    <!-- google fonts -->
    <link
      href="https://fonts.googleapis.com/css?family=Courgette"
      rel="stylesheet"
    />


     <!-- font-awesome -->
    
    <!-- font awesome -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css">

    <script src="https://kit.fontawesome.com/59d8d750f1.js"></script>
    <title>Renters</title>
    <style></style>
  </head>

  <body>

    <!--header-->

    <header id="home">
    <!--navbar -->

     <nav class="navbar navbar-expand-lg navbar-dark px-5">

        <a href="home" class="navbar-brand">

            <img src="img/logo.png" alt="company logo">
        </a>
       <!--now work on button-->
       <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#myNavbar">

        <span class="navbar-toggler-icon">


        </span>
       </button>
       <!--end button-->

       <div class="collapse navbar-collapse" id="myNavbar">
           <ul class="navbar-nav mx-auto">

            <li class="navbar-item active">

                <a href="home" class="nav-link">

                    Home
                </a>
            </li>

            
            <li class="navbar-item active">

                    <a href="about" class="nav-link">
    
                        about
                    </a>
                </li>

                
            <li class="navbar-item active">

                    <a href="featured" class="nav-link">
    
                        featured
                    </a>
                </li>

                
            <li class="navbar-item active">

                    <a href="Services" class="nav-link">
    
                        Services
                    </a>
                </li>

                <li class="navbar-item active">

                        <a href="Gallery" class="nav-link">
        
                            Gallery
                        </a>
                    </li>

                    
                <li class="navbar-item active">

                        <a href="Tour" class="nav-link">
        
                            Tour
                        </a>
                    </li>
           </ul>

           <!--end of links-->

           <!--info-->

           <div class="d-none d-lg-flex  align-items-baseline">

            <p class="text white mx-4">

                <span class="mx-2 phone-icon">
                        <i class="fas fa fa-phone fa-fw">


                            </i>
                            + 123-456-789

                </span>
            </p>

            <button class="btn green__btn text-capitalize">

                Book Now
            </button>
           </div>


       </div>

     </nav>



    <!--end of navbar-->


    </header>

    <!--end of header-->
    <!--
      https://www.iconfinder.com/icons/2012967/architecture_design_home_owner_house_housing_real_estate_roof_icon
      Creative Commons (Attribution 3.0 Unported);
      https://www.iconfinder.com/Myart
    -->

    <!-- jquery -->
    <script src="js/jquery-3.3.1.min.js"></script>
    <!-- bootstrap js -->
    <script src="js/bootstrap.bundle.min.js"></script>
    <!-- script js -->
    <script src="js/app.js"></script>
  </body>
</html>

              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Caveat|Mali");

:root {
  --mainDark: #242325;
  --mainGreen: #61e786;
  --mainWhite: #fff;
  --mainGrey: #eeeeee;
}
body {
  font-family: "Mali", cursive;
  background: var(--mainWhite);
  color: var(--mainDark);
}

/*navbar section*/
.navbar{
  background:var(--mainDark) !important;
}
              
            
!

JS

              
                
              
            
!
999px

Console