css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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. 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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>


<header id="header">
  <div>
  <img id="header-img" src="https://seeklogo.com/images/C/cake-food-logo-9A487CF7AA-seeklogo.com.png" alt="Cake Logo" target="_blank">
  </div>
  <p id="The-Cake-Boss">The Cake Boss - Unleashed Creativity through Cakes.
  </p>
  
  <nav id="nav-bar">
    <ul>
      <li><a class="nav-link" href="#AboutUs">About Us</a></li>
      <li><a class="nav-link" href="#WhatWeDo">What We Do</a></li>
      <li><a class="nav-link" href="#Gallery">Gallery</a></li>
      <li><a class="nav-link" href="#Contact">Contact Us</a></li>
    </ul>
  </nav>
  </header>
  


  <section id="AboutUs">
  <h2>About Us</h2>
    <p>The Cake Boss has been in the business of bringing our clients' imagination to life through our cakes and sugar craft designs. Our pioneer Cake Boss Ms. Judy Bunny has been baking and hand crafting beautiful designs since 1998. Its always a pleasure to see a huge smile on the face of every client that works in through our doors.
    </p>
</section>
    <section id="WhatWeDo">
    <h2>What We Do</h2>
    <p>We simply bring to life your imagination through our cakes and sugar craft designs. Our only desire is to ensure that we have a satisfied client every single time.
    </p>
  </section>

 <section id="cake-video">
    <iframe id="video" width="400" height="250" src="https://www.youtube.com/embed/x3IA5OeiNSE?start=60" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen>
    </iframe>
  </section>
   
    <h2>Gallery</h2>
    <p>Feed your eyes on our succulent cake feast....You're Welcome.
    </p>
   <section id="Gallery">
    <img class="resize" src="https://img.taste.com.au/KoghGSzS/w643-h428-cfill-q90/taste/2016/11/homemade-chocolate-cake-85524-1.jpeg" alt="Chocolate Cake" target="_blank">
    <img class="resize" src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Pound_layer_cake.jpg/220px-Pound_layer_cake.jpg" alt="Pound Layer Cake" target="_blank">
    <img class="resize" src="https://www.patisserie-valerie.co.uk/pv/products/main/fruitsoftheforestdark.png" alt="Fruits of the Dark Chocolate Cake" target="_blank">
    <img class="resize" src="https://www.patisserie-valerie.co.uk/pv/products/main/Macedonianibbedalmonds.png" alt="Macedonian Almond Dribbles Cake" target="_blank">
    <img class="resize" src="https://www.patisserie-valerie.co.uk/pv/products/main/DoubleChocDream.png" alt="Double Dream Chocolate Cake" target="_blank">
    <img class="resize" src="https://www.patisserie-valerie.co.uk/pv/products/main/whitechocdream.png" alt="White Chocolate Cake" target="_blank">
    <img class="resize" src="https://www.patisserie-valerie.co.uk/pv/products/main/GFChocCake.png" alt="Chocolate Cake" target="_blank">
   
    <img class="resize" src="https://keyassets-p2.timeincuk.net/wp/prod/wp-content/uploads/sites/50/2015/05/Naked-Cake-620x620.jpg" alt="Naked Cake" target="_blank">
    <img class="resize" src="http://www.eatout.co.za/wp-content/uploads/2018/03/cakes.jpg" alt="Heart Cake" target="_blank">
    <img class="resize" src="https://static.kidspot.com.au/recipe_asset/646/3457.jpg-20150309012202~q75,dx720y432u1r1gg,c--.jpg" alt="Cup Cakes" target="_blank">
    <img class="resize" src="https://cdn.thewhoot.com/wp-content/uploads/2018/01/Pull-Apart-Cupcake-Cakes--550x461.jpg" alt="Children Party Cup Cake" target="_blank">
    <img class="resize" src="https://i9.fnp.com/images/pr/l/red-velvet-heart-cake-1kg-eggless_1.jpg" alt="Red Velvet Cake" target="_blank">
    <img class="resize" src="https://panifor.pt/wp-content/uploads/2017/11/Red-Velvet.jpg" alt="Red Velvet" target="_blank">
  </section>

 
  <section id="Contact">
    <h2>Contact Us</h2>
    <p>We would love to bring your ideas and imagination to life and we are only an email away.
    </p>
    <form id="form" action="https://www.freecodecamp.com/email-submit">
    <input name="email" id="email" type="email" placeholder="Your Email Address" required class="form">
      </input>
      <br>
      
      <input name="name" id="name" type="name" placeholder="Your Name" required  class="form">
    </input>
 <br>
<p class="form">Fill your cake aspirations and designs in the form below</p>
<textarea required>Your Ideas.....Our Cakes..</textarea>
 <br>
    <input id="submit" type="submit" value="Submit" class="form">
</input>
  </form>
  </section>

<footer id="footer">
  &copy; 2018 Project Lily Designs
  <br>
   All trademarks and registered trademarks appearing on this site are the property of their respective owners.
</footer>
    
    
            
          
!
            
              @import url('https://fonts.googleapis.com/css?family=Charmonman:400,700');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Lato');

@media (max-width: 700px) {
  #header-img {
    width: 50px;
  }
}

body {
  font-size: medium;
  background-color: pink;
  font-family: 'Lato';
  margin: 0px;
  
}
p {
  font-size: 100%;
  font-family: 'Lato';
 
}
h2 {
  font-family: 'Roboto';
  font-size: 150%;
  color: #954b4b;
  text-align: center;
  
}


#The-Cake-Boss {
  font-family: 'Lato';
  font-weight: bold;
  font-size: 150%;
 
}
#header-img {
  max-width: 25%;
  max-height: auto;
}
 

#header ul {
  
}

#header ul li {
  list-style-type: none;
  display: inline-block;
  margin-right: 20px; 
}

#header ul li a {
  text-decoration: none;
  color: #954b4b;
  font-weight: bold;
  font-size: 125%;  
}



#header  {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #e6a1ba;
}

.resize {
  height: 120px;
  width: auto;
  overflow: hidden;
}
#Gallery {
  max-width: 900px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row-reverse; 
  align-items: center;
}
.form {
  font-family: 'Charmonman', cursive;
  font-weight: bolder;
  font-size: 150%;
  color: #954b4b;
  border: none;
  border-bottom: 1px;
  background-color: pink;
}


#cake-video {
  display: flex;
  justify-content: space-evenly;
}

textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px  #eee;
    border-radius: 4px;
    background-color: pink;
    font-size: 10px;
    resize: none;
    font-family: 'Charmonman', cursive;
    font-size: 150%;
    color: #954b4b;
    font-weight: bolder;
}
footer {
  text-align: center;
  font-weight: bold;
  background-color: #e6a1ba;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console