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>


Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 


    <meta charset="utf-8">
    <title>My Tribute Page</title>
  <main id="main">
    <div id="btn">
    <button id="btn-theme" onClick="changeMode()">Mode</button>
  <h1 id="title">Debra Morgan</h1>
  <p>An adoptive sister of Dexter Morgan.</p>
  <div id="img-div">
    <img src="" id="image" alt="Debra photo">
    <div id="img-caption">Debra was often the conscience of the series, providing the morally correct sense of justice, while Dexter pursued much darker means. Her involvement in the plot was usually parallel to Dexter, as they frequently hunted the same killers. While her intent was to bring them to justice, Dexter sought them to satisfy his Dark Passenger.</div>
<h2 id="tribute-info">Here's a time line of Debra's life:</h2>
  <ul class="list">
    <li><strong>1 season</strong> - worked for Miami Metro Homicide</li>
    <li><strong>2 season ...</strong>etc.</li>
    <li><strong>3 season</strong> etc</li>
    <li><strong>4 season ...</strong>etc.</li>
    <li><strong>5 season</strong> etc</li>
    <li><strong>6 season ...</strong>etc.</li>
    <li><strong>7 season</strong> etc</li>
    <li><strong>8 season ...</strong>etc.</li>
    <li><strong>9 season</strong> - etc </li>

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



                body {
  font-size: 1.3rem;
  text-align: center;
  line-height: 1.5rem;
  font-family: "Roboto";
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover; 
main {
  max-width: 800px;
  margin: 0 auto;
h1 {
  font-size: 4rem;
  line-height: 3rem;

h2 {
  font-size: 1.5rem;
img {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  display: list-item;
#img-caption {
  text-align: center;
  padding: 10px;
#img-div {
  padding: 10px;
#btn {
  text-align: right;
button {
  background-color: grey;
  color: white;
  width: 70px;  
  height: 40px;
  border-radius: 20px; 
.dark-mode {
  color: ivory;
  background-image: url(""); 


                function changeBtnText() {
  var btn = document.getElementById('btn-theme');
  if (btn.innerText = 'Dark') {
    btn.innerText = 'Light';
  } else {
     btn.innerText = 'Dark';

function changeMode() {
   var element = document.body;