Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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="stylesheet" type="text/css" ahref="#">
    <title> My Tribute Page </title>
    <h1 id="title" style="text-align: center;"> My Tribute To W.E.B. Du Bois</h1>
    <p id="tag" style="text-align: center;"> Sociologist & African American Activist </p>
    <h4 id="quote" style="text-align: center;"> "To be a poor man is hard, but to be a poor race in a land of dollars is the very bottom of hardships."</h4>
    <main id="main">
      <div id="img-div" style="text-align: center;"> 
        <img id="image"  style="max-width: 40%;
  display: block; margin: 0 auto;"        src="" alt="Photograph of WEB DuBois">
<p id="img-caption" style="text-align: center;"> Photograph Of W.E.B. Du Bois Courtesy of <a href="" target="_blank">Wikipedia</a> </p>
      <div id="tribute-info">
        <h2>Life In Short</h2>
        <p id="tribute-brief"> William Edward Burghardt Du Bois was born on February 23 1868 in Great Barrington Massachussetts. In his lifetime, Du Bois worked to overcome the struggles created in the aftermath of the civil war as a nation and a people fought for progress. Being the first african american to graduate from Harvard with a doctorate made him a leader in the community and his evenutal founding of the NAACP remains important to this day. W.E.B. Du Bois was a pillar for the black community by all measures, but accomplishing what he did during such a divisive moment in our history make him a legend among all men.</p>
        <h3> Books Written By W.E.B. Du Bois </h3>
        <div id="books"><ul>
          <li>The Study of the Negro Problems (1898)</li>
          <li>The Philadelphia Negro (1899)</li>
          <li>The Negro in Business (1899)</li>
          <li>The Souls of Black Folk (1903)</li>
          <li>"The Talented Tenth", second chapter of The Negro Problem, a collection of articles by African Americans (September 1903)</li>
          <li>Voice of the Negro II (September 1905)</li>
          <li>John Brown: A Biography (1909)</li>
          <li>Efforts for Social Betterment among Negro Americans (1909)</li>
          <li>Atlanta University's Studies of the Negro Problem (1897–1910)</li>
          <li>The Negro (1915)</li>
          <li>The Gift of Black Folk: The Negroes in the Making of America (1924)</li>
          <li>Africa, Its Geography, People and Products (1930)</li>
          <li>Africa: Its Place in Modern History (1930)</li>
          <li>Black Reconstruction in America (1935)</li>
          <li>What the Negro Has Done for the United States and Texas (1936)</li>
          <li>Black Folk, Then and Now (1939)</li>
          <li>Color and Democracy: Colonies and Peace (1945)</li>
          <li>The Encyclopedia of the Negro (1946)</li>
          <li>The World and Africa (1946)</li>
          <li>The World and Africa, an Inquiry into the Part Which Africa Has Played in World History (1947)</li>
          <li>Peace Is Dangerous (1951)</li>
          <li>I Take My Stand for Peace (1951)</li>
          <li>In Battle for Peace (1952)</li>
          <li>Africa in Battle Against Colonialism, Racialism, Imperialism (1960)</li>
        </ul> </div>
      <p id="tribute-linkage"> Get access to the writings of W.E.B. Du Bois <a href="" target="_blank">here</a> and learn more about his life <a id="tribute-link" href="" target="_blank">here</a></p>
  <script src=""></script>


  margin: 0 auto;
  width: 100%;
  background-color: black;

  width: 75%;
  margin: 0 auto;
  padding: 20px;
  background-color: white

  margin: 10px;
  text-align: center;
  font-weight: bold;

#title, #quote, #tag, #tribute-linkage {
  color: white;

  padding: 0 30px;
  font-size: 20px;
  font-size: 12px;
  font-style: italic;