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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                
<link href="https://fonts.googleapis.com/css?family=Modak&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ribeye+Marrow&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap" rel="stylesheet">

<main id="main">
 
  <div id="header">
    <nav id="nav-bar">
  <a class="nav-link" href="#home">Home</a>
  <a class="nav-link" href="#about">About</a>
  <a class="nav-link" href="#form">Contact</a>
</nav>
  <div id="header-content">
  <div id="left-banner">
  <img id="header-img" src="https://res.cloudinary.com/dgxqbvbdv/image/upload/v1580828342/Third%20Project/cat_paw_f3lnlx.png" alt="happy waving cat"></img>
  <img id="catoon" src="https://res.cloudinary.com/dgxqbvbdv/image/upload/v1580828331/Third%20Project/catoon_bxaiew.png" alt="smiling cat toon"></img></div>
<div id="right-banner">
  <img id="bandanna-cat" src="https://res.cloudinary.com/dgxqbvbdv/image/upload/v1580828337/Third%20Project/bandanna_cat_hnlvf7.jpg" alt="cat with bandanna"></img>
  <img id="squinty-cat" src="https://res.cloudinary.com/dgxqbvbdv/image/upload/v1580828346/Third%20Project/happy_cat_v7char.jpg" alt="squinting cat"></img>
 </div> </div>

</div>
<div id="home">
  <h1 id="title">Kitty Cat Chatter</h1>
  <p id="description">classes for cat talk</p></div>
<div id="about">
  <p "info">We know it is hard in understanding what cats say when they talk to us.  They act so different from dogs.  Do they wag their tail the same way?  How do we know when they are happy?  Are they angry about something?  Are they asking us a question?  Or, sometimes, they don't talk at all.  And that really has us wondering.</p>
  <br></br>
<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/plPcu0Le1Ts" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"  >
</iframe>
<br></br>
  <p "moreinfo">This is what Kitty Cat Chatter is about.  We are here to help you discover what it is your feline is trying to tell you.  Given descriptions of your purry pals behavior, we can direct you on what they are attempting to say.  KC Chat also offers classes on prompting your fur baby to speak out, instead of keeping quiet and docile.  We want them to engage in conversation.  For, this type of interaction leads in growth and development of the relationship you are striving to have with this little installment to your family.</p></div>
<form id="form" action="https://www.freecodecamp.com/email-submit" method="post">
   <div id="answers" name="choices"><br><br>
               <label for="dropdown">What type of Kitty Cat Chatter service are you looking for?</label>
               <select id="dropdown">
               <option value="">--Choose an option--</option>
               <option value="Classes">Classes</option>
               <option value="Interaction">Interaction</option>
                 <option value="General Query">General Query</option></select>
                 <br><br>
             <label id="email-label">Enter email address
           <input type="email" id="email" name="email" placeholder="       here" required>
           </label><br><br>
          <input type="submit" id="submit" value="Submit"><br><br>     
  </div>
</form>
</main>

              
            
!

CSS

              
                *{
  margin: 0px;
}
#main{
  width: 100%;
  height: 100vh;
}
#header{}
#header-content{
  display: flex;
  padding: 0px 1200px 0px 0px;
}
#left-banner{
  display: flex;
  flex-basis: 50%;
  flex-direction: row;
}
#right-banner{
  display: flex;
  flex-basis: 50%;
  flex-direction: row;
}
#header-img{
  width: 100%;
  height: 100%;
  justify-content: left;
}
#catoon{
  width: 100%;
  height: 100%;
  justify-content: right;
}
#bandanna-cat{
  width: 100%;
  height: 100%;
  justify-content: left;
}
#squinty-cat{
  width: 100%;
  height: 100%;
  justify-content: right;
}
#home{
  flex-direction: row;
  background-color: gray;
  width: 100%;
  padding-bottom: 0;
  flex-wrap: wrap;
}
#title{
  font-family: Modak;
  color: brown;
  font-size: 5rem;
  justify-content: center;
  padding: 40px 50px 0px 50px;
}
#description{
  font-family: Ribeye Marrow;
  color: white;
  font-size: 2.5rem;
  justify-content: center;
  padding: 0px 50px 40px 140px;
}
#nav-bar {
  background-color: gray;
  overflow: hidden;
  float: left;
  color: white;
  text-align: center;
  text-color: red;
  display: inline;
  padding: 8px;
  font-size: 17px;
  position: fixed;
  top: 0;
  width: 100%;
}
#about{ 
  background-color: #4CAF50;
  justify-content: center;
  padding: 40px 1200px 40px 40px;
  font-family: 'Fredoka One', cursive;
  color: black;
  font-size: 1.5rem;
}
#video{
  max-width: 500px;
  min-height: 350px;
}
@media screen and (max-width: 600px) {
  home {
    background-color: black;
  }
}
#info{
  
}
#moreinfo{
  
}
#form{
  
}
#email{
  
}

              
            
!

JS

              
                
              
            
!
999px

Console