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.


                <link rel="preconnect" href="">
<link href="" rel="stylesheet">

<link rel="preconnect" href="">
<link href="" rel="stylesheet">

<link rel="preconnect" href="">
<link href="" rel="stylesheet">

<script src=""></script>

  <main id="main">
  <h1 id="title">
Princess Franny
The good news of 2020
  <div id="img-div">
     <img id="image" class ="img_border" src="" alt="Princess Franny">
    <figcaption id="img-caption">Credits : Andrae Ricketts from Unsplash</figcaption>
  <div id="tribute-info" ><p>I am honored to create this tribute page for my beautiful baby girl <a href="" target="blank">Franny</a>
 : </p>
      <li>Born just before the beginning of covid19, you brought all the <strong>strength</strong>   we would soon need</li>
      <li>Full of joy</li>
      <li>Very Smart !</li>
      <li>Very observant!</li> 
       <li>You are the queen of stunts!</li> 
      <li>And what a beautiful hair you have!</li>
    <p >I marvel at your progress every day and look forward to seeing what a beautiful person you will become.</p>
    <p>In the meantime, here are a lot of <a id="tribute-link" href="" target="_blank">hairstyle ideas</a> on the Afroculture website to make you pretty curly hair.


  font-size: 62.5%; 

  font-family: "Nunito Sans",Poppins,"Trebuchet MS", sans-serif;
  background-color: #AD7A99; 
  color: black; 
  margin: 0; } #main{ 
    background-color: #FBD1A2; 
    margin: 1rem 1rem; } 

#title { 
  text-align: center;
  color: black; 
  font-size: 4.2rem;
  font-family: Montserrat, "Nunito Sans", "Trebuchet MS", sans-serif; 
  white-space: nowrap;
  margin-bottom: 0rem;
  padding: 1rem 0rem 0.1rem 0rem; } 

@media screen and (max-width: 460px){
    font-size: 2.5rem;

h2 { 
  text-align: center; 
  color: black; 
  margin-bottom: 2%; 
  padding-top: 0; 

@media screen and (max-width: 460px) {
    font-size: 100%; 

a { 
  color: #000000; 
  font-style: bold; 

a:visited { 
  color: #74638f; 

#img-div { 
  background-color: inherit; 
  text-align: center; } #image{ border-radius: 8%; max-width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto; margin-top: 4%; } 

  color: black; 
  font-size: 0.8rem; 
  text-align: center; 

.img_border{ border-color: #AD7A99; border-width: 0.5rem; border-style: solid; } #tribute-info{ font-size: 1.5rem; margin-left: auto; margin-right: auto; padding-top: 0.5em; padding-bottom: 1rem; background-color: inherit; text-align: left; width:85%; } ul { max-width: margin: 0 auto rem 30px; text-align: left; line-height: 1.5; font-size: 1.5rem; } li { margin: 8px 0; }