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

              
                <meta name="viewport" content="width=device-width, initial-scale=1.0 shrink-to-fit=no">

<link rel="stylesheet" media="mediatype and|not|only (expressions)" href="tribute.css">

<main id="main">
  
  <div id="title">
  <h1>Pa Daniel Dio Wende</h1>
  </div>
  <div>
  <h2>Soldier/Father/Hero</h2>
  </div>
 <div  id="img-div">  
   
   <img id="image"src="https://live.staticflickr.com/65535/49868621422_aa94933bda_z.jpg" alt=" Daniel Dio Wende" id="img-caption"> 
   <figcaption id="img-caption"> pa Daniel Dio Wende</figcaption>    
    
    
 </div>
  
  <div id="tribute-info">
    <div class="main-container"> 
      
         <div  class="tribute-info" id="tribute-info1" id="for">
           
       <p >
  Today and always i remember my dad and the great memories we shared. He was one of a kind and my best friend.
           </p></div>
    <div class="tribute-info" id="tribute-info2">   
       <p >
  Dad i live every day by the lessons you taught me and i will pass it on to your grand kids.
         </p></div>
         
  <div class="tribute-info" id="tribute-info1">       
 <p >
  My dad as a soldier,fought bravely during the civil war for his country Nigeria.Even if the country forgets, you are my hero. 
    </p></div>
  <div class="tribute-info" id="tribute-info2">       
<p >
  Born 1940 ,he lived and died in 2012.<span>
  
  You are missed dearly. Your children,granies and wife.</span>
    </p></div>
    </div>
  </div>
 
<h4>Click 
<a  id="tribute-link" href="https://www.eatnaija.com"target="_blank"> here </a> to read more on pa Daniel Dio Wende.</h4>

  <!--link above is not reflecting on image yet--> 
</main>
  
    
<footer class="img2">
    
    <img src="https://live.staticflickr.com/65535/49867851358_e058159466_z.jpg" class="image2">
 <h6>copy right RAW<h6> 
</footer>
  
  

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


              
            
!

CSS

              
                #main {
  font-family: impact,charcoal, sans-serif;
  background: #81b29a;
  color: white;
  text-align: center;
  margin:0px;
  padding:20px;
  border-radius:25px;
}

#title{
  background-color:#81b29a;
  border-radius:20rem;
  padding-top:5px;
  width:50%;
  height:auto;
  margin:auto;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.0), 0px 6px 6px rgba(0,0,0,0.40);
  
}

@media only screen and (max-width: 620px)
  #image{
  width:100%;
    height:auto;
}

h1{
  font-size:50px;
  text-align:center;
  
    
}
h2{
  font-size:30px;
  text-decoration:underline;
  text-align:center;
}

#img-div{
  background-color:yellow;
  border-raidus:5px;
  padding:50px;
  width:60%;
  border:10px solid #ccc;
  height:60%;
  max-width:1005px;
  margin:auto;
  outline-style:dotted;
  margin:auto;
   
}
@media only screen and (max-width: 620px)
  #image{
  width:100%;
    height:auto;
}


#image{
  border-radius:30px;
  width:80%;
  max-width:1020px;
  height:auto;
  display:block;
  margin-left:auto;
    margin-right:auto;
  padding:4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.0), 0 6px 6px rgba(0,0,0,0.40);
      
}


@media only screen and (max-width: 620px)
  #image{
  width:100%;
    height:auto;
}

#img-caption{
  color:green;
  font-style:italic;
  padding:2px
    text-align:center;
   
}

.tribute-info{
  width: 40%;
    border: 5px solid #ccc;
    border-radius: 10px;
    margin: auto;
    padding: 4px;  
}
 
@media only screen and (max-width: 620px)
  #image{
  width:100%;
    height:auto;
}

.main-container{
  margin:auto;
  padding-top:25px;
  
    } 


  #tribute-info1{
    background-color:#248232;
  }
#tribute-info2{
  background-color: #adc698 ;
}


.img2 {
  display:flex;
  height:300px;
   width:63em;
  margin-left:auto;
   margin-right:auto;
  opacity:0.5;
   
}
@media only screen and (max-width: 620px)
  #image{
  width:100%;
    height:auto;
}

#tribute-link{
  font-style:italic;
}  
  

  /*
.image2{
  flex-shrink:1;
  
  {
    
    
   
    

/*
#thumbnail{
  box-shadow:0 10px 20px rgba(0,0,0,0.19),
}
  */

  

  
 
/*#main{
  margin-top:20px;
    margin-bottom:50px;
    background-color:#ffffff;
}


.fullcard{
  width: 1000px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  
}
#title{
  text-align: center;
    height: 25px;
}
.image2{
  height:3px;
  
}
p{
  text-align:center;
}

              
            
!

JS

              
                
              
            
!
999px

Console