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

              
                

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

<main id="main">
  <title id="title">
     Eddie Karira 
    </title>
   <h1> Eddie Karira Tribute Page </h1>
   <h2 id="tribute-info"> This is a tribute to someone who holds a high place in my heart, me. Please enjoy this low quality image and slightly higher quality content</h2>
  <div id="img-div">
    <img id="image" src ="https://pbs.twimg.com/profile_images/1370680618644803589/untj6m4y_400x400.jpg" alt="Eddie" class="center">
   
    <ul>
      <li> 2003- The birth of our hero and mothers everywhere shuddered for their daughers.</li>
      <li> 2006 to 2008?- More children came along but they're minor characters at best.</li>
      <li>2009- The young Eddie discovers his passion for reading and devours books far beyond what he should have been able to understand. </li>
      <li>2010- The year in which he and his parents discover that reading books does NOT equate good marks in school, nonetheless he persists with his passion</li>
      <li>2012 to 2015- His primary life was mostly unremarkable aside from an incident with a urinal and a balcony</li>
      <li>2016- Ah yes the beginning of high school, an important part in any young boys life.</li>
      <li> 2017 to 2018- The only remarkable thing about this period of his life was how spectacularly he failed in everything but english. There was also the small matter of him being quite the swimming champion.</li>
        <li>2019- Upon realising that high school is about to come to an end our young hero throws himslef into studying and it pays off.</li>
      <li>2020- Pre-Mocks have come and gone and finals are just around the corner.</li>
      <li>March 12th 2020- Our Mc along with his classmates hear rumors about some mysterious disease sweeping the world but are told not ro worry about it.</li>
      <li> March 13th 2020- Everyone told to go home finals are off unitl further notice but we'll probably be back in a few weeks (It wasn't a few weeks, we never went back).</li>  
      <li> August 2020-  Our results are announced and the boy did surprisingly well. In the background the world is burning.</li> 
      <li>March 2021- He applies for university, gets in also takes an interest in coding</li>
      <li>April 2021- The coding interest ramps up and he finally starts doing it, encounters head numbing problems but hey that's life.</li>
      <li> May 11th 2021- He creates a tribute page to himself which is more than a little narcissistic but go off I guess?</li>
    </ul>
    <a href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank" id="tribute-link"> Learn more here!</a>
    <figcaption id ="img-caption"> It's a me Mario</figcaption>
      
  </div>
  
  <style>
  
    div{font-family:sans-serif;}
    </style>
</main>

              
            
!

CSS

              
                
img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
   border-color: black;
    border-width: 5px;
    border-style: solid;
  border-radius: 50%;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}
h1{text-align: center;
color: White;
}
main{ background: linear-gradient(to bottom, #000066 0%, #ff6666 100%);}
div{font-size: 25px;
    font-family: lato;}
h2{color: white;
text-align: center;
font-family: sans-serif;
}




              
            
!

JS

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

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

              
            
!
999px

Console