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>
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/style.css">
    <title>Wizard's Bookstore</title>
    <header id="header">
        <nav id="nav-bar">
           <section id="home">
            <div class="container">
                <a href="#home"><img id="header-img" src="" alt="logo"  </a>

                  <ul class="nav">
           <li><a href="#home" class="nav-link">Home</a></li>
           <li><a href="#stock" class="nav-link">Stock</a></li>
           <li><a href="#about" class="nav-link">About</a></li>
           <li><a href="#subscribe" class="nav-link">Subscribe</a></li>
           <li><a href="#contact" class="nav-link">Contact</a></li>
     <section id="subscribe">
        <div class="homie">
        <form action="post" action="" id="form">
        <h1>Subscribe to our news letter</h1>
        <input type="email" placeholder="enter your email adress" name="email" id="email" required>
        <input type="submit" id="submit" value="submit">
<section id="stock">
       <div class="stock">
        <i class="fas fa-shopping-cart"></i>    
            <h2>we're always on stock</h2>
           <p>Lorem ipsum dolor sit amet consectetur hjhjhvj ugg adipisicing elit.  iusto ipsam. Atque.</p>
       <div class="stock">
        <i class="fas fa-globe"></i>
           <h2>find us everywhere</h2>
           <p>Lorem ipsum dolor sittia dignissimos repellendus repellat sit consequuntur quod dolorem molestias deserunt reprehenderit magnam architecto facere, dolore, eos cum, velit quaerat?</p>
       <div class="stock">
        <i class="fas fa-envelope-open"></i>
         <h2>if in doubt contact us</h2>
           <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. id debitis saepe at?</p>
<section id="about">
     <h2>About Us</h2>
     <div class="containerV">
        <iframe id="video" width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>

    <footer id="contact">
        <p>Made by Eslem Ouederni</p>
        <p>CopyRight 2020, HooHoo</p>


    box-sizing: border-box;
    margin: 0;    
    font-family:'Oswald', sans-serif;
    line-height: 1.6;

    width: 100px;
section h2{
    text-align: center;
    text-transform: uppercase;
    margin-top: 30px;
    max-width: 100%;
    height: 80%;   
    list-style-type: none;
    background-color: rgb(247, 200, 100);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    overflow: hidden;
    position: fixed; 
    top: 0; 
    left: 0;
    right: 0;
#nav-bar .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20rem;
#nav-bar ul{
    justify-self: center;
    display: flex;
    flex-direction: row;
    justify-content: center;

    color: black;
    font-size: 23px;
    margin: 0 20px;
    text-decoration: none;
/* stock */
.stock i{
    color: rgb(247, 200, 100);
      font-size: 25px;

    width: 50% ;
    margin: 50px auto 0 auto;
    padding: 10px;
    box-shadow: 3px 5px 10px rgb(189, 189, 189);
    border-radius: 8px;
    display: flex;
    flex-direction: column; 
    text-align: center;
.stock h2{
    text-transform: capitalize;
    margin-bottom: 10px;
    margin-top: 5px;
.stock p{
    font-size: 18px;
    line-height: 22px;
    text-align: center;
/* subscribe */
    margin-top: 130px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 500px;
    width: 350px;
    font-size: 25px;
    border: 1px solid rgb(167, 131, 55);
    border-radius: 3px;
    margin-top: 10px;

    width: 150px;
    font-size: 20px;
    margin-top: 8px;
    margin-bottom: 50px;
    background-color: rgb(236, 166, 14);
    color: white;
    outline: none;
    border: none;
    border-radius: 2px;
    box-shadow: 2px 2px rgb(109, 109, 109);
    position: relative;
    transition: all 0.05s ease;
    z-index: 1;
    box-shadow: 0 0 rgb(95, 91, 84);
    transform: translate(2px, 2px);
    font-size: 20px;
    color: gray;

/* Footer */
    background-color: rgb(247, 217, 152);
    margin: 20px auto 0 auto;
    padding: 10px;
    font-size: 17px;
    text-align: center;
@media (max-width: 480px){
        font-size: 12px;
        width: 50px;
        text-align: center;
        margin-right:auto ;
        margin-left: auto;


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

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.