Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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>
    <link rel="stylesheet" type="text/css" href="email2.css">
  </head>

  <body>

    <div class="flex-sections">

      <div class="hero-container">

        <div class="hero-words1">
            <p>Have you thought about</p>
            
        </div>
          
        <div class="hero-words2"> 
            <h1>Research?</h1>
        </div>
          
        
        <div class="hero-image">
          <img src = "https://www.learningpolls.org/images/laptop-desk.jpg" 
            alt="Have you thought about research" 
            width="600" height="300">
          
        </div>
          

      </div>

    </div>

    <div class="flex-sections">

      <div class="benefits-container">
        
          <div class="benefits-top-words">
              <p> Benefits of Undergraduate Research</p>
          </div>
          
<div class="benefits-image-container">
          
          <div class="benefits-image"> 
              <img src= "http://www.eieonline.com/portals/0/grad%20hat%20white_C.png"
                   width="80">
          </div>
          
          <div class="benefits-image">
              <img src="http://www.optimalhrgroup.com/userfiles/contentphotos/icon_cv.png"
              width="67">
          </div>
          
          <div class="benefits-image">
            <img src="http://jobops.com/wp-content/uploads/2015/05/automation-icon.png"
                 width="80">
          
          </div>
    
 </div>
    <!--HERE IS THE BENEFITS DESCRIPTIONS CONTAINER which is inside image container--> 
    <div class="benefits-desc-container">
    
       <div class="benefits-desc"> <p>Description one</p></div>
       <div class="benefits-desc"> <p>Description two</p></div>
       <div class="benefits-desc"> <p>Description three</p></div>
       
   </div>
    
      </div>

    </div>

    <div class="flex-sections">
<!--BEGINNING OF LONGER WORDS CONTAINER-->
    <div class="words-container">
        <div class="words-content">
         <p> 
            Undergraduate research 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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
        </p>
        </div>
        
    <!--BUTTON GOES HERE-->
    <div class="button-holder">
    <button class="main-button" align="center">Go to UROP.com </button>
    </div>
        
    </div>

    </div>
      
<!--the THREE REVIEWS--> 
    <div class="flex-sections">
<div class="review-holder">
    <div class="review1"> 
    <div class="review-img1"> 
        <img src="http://jhsap.org/sebin/f/b/male-student-postcard.png", alt="student1", height="80", width="80">  </div>
        
    <div class="review1-words">
        <p> Through UROP, I found a research position
        and learn much more about the field I want to go into.</p>
        
    </div>
        
        
    </div>  
    
    
    <div class="review2"> 
        <div class="review-img2">
            
        <div class="review2-words">
             <p> My professor was reall pretty cool and like when else do you get a chance like that </p>
        
         </div>
            
        <img src="http://jhsap.org/sebin/f/b/male-student-postcard.png", alt="student1", height="80", width="80">  </div>
    
         
        
    </div>
        
    <div class="review3"> 
        <div class="review-img1"> 
        <img src="http://jhsap.org/sebin/f/b/male-student-postcard.png", alt="student1", height="80", width="80">  </div>
        
         <div class="review1-words">
            <p> sometimes you just gotta risk it all to do some really great undergraduate research. 
             
            </p>
        
        </div>
        
    
    </div>
        
        
</div>

    </div>
<div class="flex-sections">
    <div class="projects-holder">
        
        <div class="project-block">
            
            <div class="project-title">
            <p>Project One</p>
            </div>
            
            <div class="project-desc">
                <p> this is a descrption of the project 
                    introduced here. more info more info
                    more info.</p>
                
                <button class="button">GO</button>
            
            </div>
            
            
            
        
        </div>
        
        <div class="project-block">
            
            <div class="project-title">
            <p>Project Two</p>
            </div>
            
            <div class="project-desc">
                <p> this is a descrption of the project 
                    introduced here. more info more info
                    more info.</p>
                
            <button class="button">GO</button>
            </div>
            
            
        
        </div>
        
        <div class="project-block">
            <div class="project-title">
            <p>Project Three</p>
            </div>
            
            <div class="project-desc">
                <p> this is a descrption of the project 
                    introduced here. more info more info
                    more info.</p>
                
                <button class="button">GO</button>
                
            </div>
            
            
        
        </div>
        
          
    </div>
    
</div>  
      
      

  </body>

</html>

              
            
!

CSS

              
                body {

  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

.flex-sections {

  background-color: white;
  height: 100%;
  margin: 0px;
  width: 600px;

}

.hero-container {

  background-color: #bf5700;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
  width: 60%;
  

}

.hero-image {
  height: 300px;      
}
.hero-words1{
    font-size: 150%;
    color: white;
    position: absolute;
    margin-left: 30px;
    margin-top: 30px;
    font-family: sans-serif;
    letter-spacing: 2px;
}

.hero-words2{
    font-size: 220%;
    font-family: sans-serif;
    color: white;
    position:absolute;
    margin-top: 90px;
    margin-left: 120px;
    letter-spacing: 7px;
    align-self: center;
    
    
}

.benefits-container {

  background-color: #bf5700;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
 

}
.benefits-top-words {
    display: flex;
    align-self: center;
    font-size: 20px; 
    margin-top: 1px;
    color: white;
    font-family: "verdana";
}
.benefits-image-container{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 0px;
}

.benefits-desc-container{
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-bottom: 8px;
}
.benefits-desc {
    font-size: 14px;
    color: white;
    font-family: "verdana";
}
.words-container{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    align-self: center;
    background-color: white;
   
    
}
.words-content{
    font-size: 15px;
}
.main-button{
    display: flex;
    width: 50%;
    text-align: center;
    color: white;
    background-color: #ff8d35;
    padding:15px 32px;
    display: inline-block;
    font-family: "verdana";
    font-size: 20px;
    border: none;
    margin-left: 135px;
    margin-bottom: 12px;
    
}
.main-button:hover{
    background-color: white;
    color:#ff8d35;
    border:1px solid #ff8d35;
    margin-bottom: 10px;

}
.review-holder{
    display:flex;
    flex-direction:column;
}
.review1{
    display:flex;
    background: #e1ded3;
}

.review2{
    display:flex;
    background:#f5f4f0;
    flex-direction: row;
}
.review3{

    display:flex;
    background: #e1ded3;
}

.review-img1{
     margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 5px;
}

.review-img2{
    margin-top: 10px;
    margin-bottom: 0px;
    margin-right: 10px;
    display: flex;
}

.review1-words{
    padding: 15px;
    font-family: sans-serif;
    font-size: 85%;
        
}
.review2-words{
    display: flex;
    margin-right: 0px;
    padding: 15px;
    font-family: sans-serif;
    font-size: 85%;
    
}

.projects-holder{
    display:flex;
    flex-direction: row;
}
.project-block{
    background: #6B6361;   
    width: 200px;
    border: 2px;
    outline-color: black;
    
}

.project-title{
    margin: 10px;
    font-family: sans-serif;
    font-size: 90%;
    color:white
    
}
.project-desc{
    font-family: sans-serif;
    margin: 13px;
    align-content: center;
    font-size: 80%;
    color:white;
    
}   
  

.button{
    background-color: #ff8d35;
    font: thick;
	color: white;
	font-size: 10px;
    border: none;
	padding:1em 3em;
	margin-bottom: 10px;
    margin-left: 40px;
    align-self: center;
    
}
.button:hover{
    background-color: white;
    color:#ff8d35;
}



              
            
!

JS

              
                
              
            
!
999px

Console