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.


                "<script src=""></script>

<!DOCTYPE html>

<html lang="en">

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="style.css">
    <title>My Tribute Page</title>

<body id="main">

    <!-- Title Section -->

        <section id="title">
            <h1>Essential Oils</h1>
            <h3 id="tribute-info">Healing Oils</h3>
            <div id="img-div">
              <img src="" id="image"/ alt="Astronomer and Mathmatician Muhammad ibn Musa Al-khwarizmi">
              <div id="img-caption">
              <p for="image" id="image-label">
                  <em>Nicolaus Copernicus (19 February 1473 – 24 May 1543) was a Renaissance-era mathematician, astronomer, and Catholic canon who formulated a model<br> of the universe that placed the Sun rather than Earth at the center of the universe. </em>

    <!-- End Title Section -->

    <!-- Tribute Info Section -->

        <div id="tribute-info-section">
          <article id="tribute-info">
            <h2>Here's a paragraph about Nicolaus Copernicus life:</h2>
       <p>In all likelihood, Copernicus developed his model independently of Aristarchus of Samos, an ancient Greek astronomer who had formulated such a model some eighteen centuries earlier.

The publication of Copernicus' model in his book De revolutionibus orbium coelestium (On the Revolutions of the Celestial Spheres), just before his death in 1543, was a major event in the history of science, triggering the Copernican Revolution and making a pioneering contribution to the Scientific Revolution.

Copernicus was born and died in Royal Prussia, a region that had been part of the Kingdom of Poland since 1466. A polyglot and polymath, he obtained a doctorate in canon law and was a mathematician, astronomer, physician, classics scholar, translator, governor, diplomat, and economist. In 1517 he derived a quantity theory of money—a key concept in economics—and in 1519 he formulated an economic principle that later came to be called Gresham's law.</p>

    <!-- End Tribute Info Section -->
    <!-- Footer Section -->    

        <div id="tribute-link-section">
          <secion>If you have time, you should read more about this incredible human being on his <a id="tribute-link" target="_blank" href="" >Wikipedia entry</a>.

    <!-- End Footer Section -->    




                #main {
  /* variables */
  --content-background: hsl(21, 40%, 96%);
  --contrast-background: hsl(21, 30%, 87%);
  margin: 15px;
  background-color: rgb(40,150,200);
  display: flex;
  flex-direction: column;

header {
  background-color: grey;
  border-radius: 10px;

h1 {
  margin-top: 10px;
h2 {
  color: aliceblue;
  margin-top: 10px;
#title {
  text-align: center;
  padding: 10px;

main {
  background-color: var(--content-background, gray);

#tribute-info-section {
  background-color: rgb(20,30,100);
  color: gray;
  max-width: 800px;
  margin: auto;
  padding-bottom: 20px;
  border-radius: 10px;

footer {
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  background-color: var(--contrast-background, gray);
  border-radius: 10px;

#footer-content {
  margin: auto;
  max-width: 800px;
  text-align: center;

#image {
  max-width: 40%;
  height: auto;
  display: block;
  margin: auto;

#image-caption {
  text-align: center;
  font-size: 15px;
  padding: 0 5 0 5px;

#tribute-link:hover {
  color: hsl(220, 88%, 60%);

#tribute-link {
  color: hsl(220, 57%, 42%);