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.


                   <body style="background: rgba(122,122,122,0.6)">
    <header><section id="welcome-section"><h1 class="welcome1">Welcome to my section!</h1>
      <ul><nav class="navcont" id="navbar"><li><a href="#poem" class="items">Read the tree poem.</a></li>
   <li><a href="" target="_blank" id="profile-link" class="items2"> My fcc profile!</a></li></ul>
    <div class="article"><article><p class="art2">“The clearest way into the Universe is through a forest wilderness.”
      ― John Muir</p></article></div>
  <img src="" alt="tree in woods">
   <img src="" alt="wooded area">
   <div  class="background"><p>As you can see, I am very passionate about trees, in my opinion they are by far thee most important thing on this planet, and we can never have enough of them!</p></div>
         <img id="imgsize" src="" alt="tree in the distance with flowers"></section>
  <section id="projects">
    <article class="project-tile"><p id="poem"><u>A Poison Tree</u>

<p>I was angry with my friend:
     I told my wrath, my wrath did end.
 I was angry with my foe:
  I told it not, my wrath did grow.</p>

      </p>And I watered it in fears.
     Night and morning with my tears:
 And I sunned it with smiles.
    And with soft deceitful wiles.</p>

<p>And it grew both day and night.
Till it bore an apple bright.
And my foe beheld it shine.
  And he knew that it was mine.</p>
   <p>And into my garden stole, 
When the night had veild the pole; 
In the morning glad I see; 
     My foe outstretched beneath the tree. </p></article>
  <a href=",and%20defend%20themselves%20against%20attacking%20insects.%20More%20items" target="blank">Here is a link to some awesome facts about trees!</a>



                #welcome-section { 
   height: 100vh; }

#container {
  margin-left: 3.5em;
  display: grid;
  width: 1.1em;
  background-color: rgba(0, 204, 153, 0.6);
  grid-template-columns: 1em 1em 1em;
  grid-template-rows: repeat(4,1em);
  grid-row-gap: 20px;
  grid-template-areas: header header header
    mid mid mid 
    footer footer footer;
   border-radius: 5%;
  padding-right: 1px;
  margin-top: -0.7em

img {
    width: 50%;
    height: 50%;
    object-fit: cover;
  border-radius: 20%;
  margin-left: 300px;

.item 1 { 
width: 25%;
  height: 25%;

.background {
  position: absolute;
  width: 500px;
  height: 30px;
  background-color: white;
  color: black;
  padding-right: 10px;
  padding-bottom: 45px;
  border-radius: 10%;
  margin-left: 400px; 
  margin-top: -400px;

#projects {
  font-family: sans-serif;

#imgsize {
  width: 50%; 
  margin-left: px;
.project-tile {
  line-height: 10px;

a:hover { color: red; 

a { text-decoration: none;}

#navbar { :color:#f3a600; 

#profile-link {
  font-size: 20px;

@media (max-width: 50%;)
{ img { width: 30%;}} 

 .welcome1 {
color: #00005a;
  text-decoration: overline underline;
  font-size: 3.5em;
  font-family: sans-serif;
  text-align: center;
   margin-bottom: 150px; }

#welcome-section { 
   vh: 100%; }

.navcont {
  display: flex;
  top: 0px;
  width: 100%;
  position: fixed;
  background-color: #a6a600;
  height: 4.5em; 
  flex-direction: row;}

.items {
  position: relative;
  height: 1em;
  width: 0.5em;
  background-color: #a6a600;
  display: flex;
  flex-position: flex-end;
  flex-direction: row;
  margin-left: 1200px;

.items2 {
  position: relative;
  height: 1em;
  width: 0.5em;
  background-color: #a6a600;
  display: flex;
  flex-position: flex-end;
  flex-direction: row;
  margin-left: 100px;

ul {
    list-style-type: none;

h1 {
  margin-top: 150px;

.article {
  position: relative;
  height: 4em;
  width: 50em;
  background-color: rgba(122,122,122,0);
  margin-top: -190px;
  margin-left: 300px;
  padding: 10px;



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

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