Pen Settings

HTML

CSS

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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

HTML

              
                <!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width-device-width, initial-scale=1.0">
    <title>Tribute Page to Anthony Bourdain</title>
    <link rel="stylesheet" href="styles.css" type="text/css">
    <link href="https://fonts.googleapis.com/css?family=Lora" rel="stylesheet">
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  </head>
 <!-- DON'T REMOVE FOR SCORING PURPOSES -->
<!--   <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js">
  </script> -->
<!-- DON'T REMOVE FOR SCORING PURPOSES -->
  <body>
   
<div id="main">
    <h1 id="title">Anthony Bourdain</h1>
    <h3 id="date">1956 — 2018</h3>
    <div><a href="#codeword" class="material-icons">arrow_downward</a></div>
    <blockquote class="quote">
      <p>"As you move through this life and this world you change things slightly, <br>you leave marks behind, however small. And in return, life and travel leaves marks on you. <br>Most of the time, those marks on your body or on your heart — are beautiful."</p>
    </blockquote>

    <div id="img-div">
      <img id="image" src="https://static1.squarespace.com/static/54bf156ce4b0cf5ee2aa05e3/t/5b1ab96403ce640b7e9282c8/1528478077612/anthony-bourdain-parts-unknown-TONYSITE0417.jpg?format=1500w" alt="Anthony Bourdain B&W">
   <div id="img-caption">
    Anthony Bourdain was a larger-than-life American chef, author, and telivision personality who used his books and shows to explore culture, cuisine and the human condition. The timeline below furthur explains how it all started, along with his accomplishments and his personal life.
   </div>
    </div>

      <div id="tribute-info">
        <a name="codeword"></a>
        <h3 class="timeline">Timeline</h3>
        <ul>
          <li><strong>1956</strong> - Born in New York City.</li>
          <li><strong>1978</strong> - Graduated from The Culinary Institute of America.</li>
          <li><strong>1985</strong> - Married his high school girlfriend, Nancy Putkoski and remained together for two decades, divorcing in 2005.</li>
          <li><strong>1990</strong> - Began running through popular restaurant kitchens of New York City like: Supper Club, One Fifth Avenue and Sullivan’s. </li>
          <li><strong>1997</strong> - The New Yorker published Bourdain’s famous article, “Don’t Eat Before Reading This.”</li>
          <li><strong>1998</strong> - He became the executive chef at, Brasserie Les Halles</li>
          <li><strong>2000</strong> - His career took off after he published Kitchen Confidential: Adventures in the Culinary Underbelly, which was a New York Times bestselling non-fiction book.</li>
          <li><strong>2002</strong> - A Cook’s Tour, ran on the Food Network channel for two-season, which featured Bourdain’s traveling the world seeking culinary adventures.</li>
          <li><strong>2004</strong> - Bourdain released, Anthony Bourdain’s Les Halles Cookbook: Strategies, Recipes, and Techniques of Classic Bistro Cooking.</li>
          <li><strong>2005</strong> - Bourdain premiered a new Travel Channel series, Anthony Bourdain: No Reservations, that ran for nine seasons and also won two Primetime Emmy Awards for its cinematography. </li>
          <li><strong>2006</strong> - Along with his 2004 cookbook, he also published, The Nasty Bits which both became the New York Times bestsellers.</li>
          <li><strong>2007</strong> - Went to wed jiu jitsu expert, Ottavia Busia. Soon after, the couple welcomed their daughter, Ariane Bourdain.</li>
          <li><strong>2011</strong> - With the success of, No Reservations, the Travel Channel announced that it would come out with a one-hour ten-episode called, The Layover which later ended with a 20 episode series. Every episode featured an exploration of a city that can be undertaken within an air travel layover of 24 to 48 hours.</li>
          <li><strong>2012</strong> - Bourdain announced that he would be leaving The Travel Channel after frustration arises due to new ownership using his voice and image to make it seem as if he were endorsing a car brand which all didn’t equate to his standard of filming.</li>
          <li><strong>2013</strong> - He later went on to host on the CNN channel, Anthony Bourdain: Parts Unknown. The program focused on cuisines, cultures and politics. </li>
          <li><strong>2015</strong> - At the age of 56, Bourdain earned a blue belt in the martial art: Brazilian jiu-jitsu, he later won gold at the IBJJF New York Spring International Open Championship, in the Middleweight Master 5 division.</li>
          <li><strong>2016</strong> - Anthony and Ottavia later separated, due to him working 250 days a year on his television shows which put great strain on his relationship with his wife and daughter. </li>
          <li><strong>2017</strong> - He later found love again and met, Asia Argento, who is an Italian actress and director.
</li>
            <li><strong>2018</strong> - Anthony Bourdain was found dead in his hotel room in Kaysersberg, France. After committing suicide while he was in the area working on an episode of his Parts Unknown series. He was 61.</li>
        </ul>
      </div>

      <div class="btm-brder"></div>

      <div class="view-more">
        To view more of Anthony Bourdain's biography - 
          <a id="tribute-link" href="https://en.wikipedia.org/wiki/Anthony_Bourdain
" target="_blank"> Click Here!

      </div>
  </body>
</html>
              
            
!

CSS

              
                * {
	margin: 0px;
	padding: 0px;
}

html body{
	margin:0;
	padding: 0;
	max-height: 700px;
	font-family: 'Lora',sans-serif;
	background-color: #000000;
	color: #f5f5f5;
	overflow-x: hidden;
	overflow: auto;
	text-align: center;
}

#image {
  max-width: 100%;
  width: 100%;
  display: block;
}

#title {
	font-weight: lighter;
	letter-spacing: 1.5px;
	font-size: 40px;
}

#title {
	position: absolute;
	margin: auto;
	top: 300px;
	left: 230px;
	z-index: 1;
}

#date {
	position: absolute;
	margin: auto;
	font-weight: lighter;https://static1.squarespace.com/static/54bf156ce4b0cf5ee2aa05e3/t/5b1ab96403ce640b7e9282c8/1528478077612/anthony-bourdain-parts-unknown-TONYSITE0417.jpg?format=1500w
	font-size: 20px;
	top: 360px;
	left: 350px;
	z-index: 1;https://static1.squarespace.com/static/54bf156ce4b0cf5ee2aa05e3/t/5b1ab96403ce640b7e9282c8/1528478077612/anthony-bourdain-parts-unknown-TONYSITE0417.jpg?format=1500w
}

.material-icons {
	position: absolute;
	text-decoration: none;
	color: white;
	top: 400px;
	left: 390px;
}

.material-icons:hover {
	color: red;
}

blockquote {
	position: absolute;
	color:#f2f2f2;
	top: 800px;
	left: 40px;
}

#img-caption {
	background-color: #f2f2f2;
	color: black;
	padding: 150px 180px;
	font-size: 1.2em;
	letter-spacing: 1px;
	text-align: center;
	line-height: 1.7em;
	text-indent: 50px;
}
/* START OF MEDIA QUERY WHEN THE PAGE IS < 600PX */
@media screen and (max-width: 600px) {
  #img-caption { 
  padding: 50px 50px;
  text-indent: 0px;
  }
  
  #title {
	position: absolute;
	margin: auto;
	top: 60px;
	left: 40px;
	z-index: 1;
  font-size: 1.2em;
}
  
blockquote {
	font-size: 0;;
}

 #tribute-info {
	background-color: white;
	color: black;
	padding: 50px;
	padding-top: 20px;
	text-align: center;
	line-height: 30px;
}

 #date {
	position: absolute;
	margin: auto;
	font-size: 0.8em;
	top: 90px;
	left: 95px;
	z-index: 1
}

.material-icons {
	position: absolute;
	text-decoration: none;
	color: white;
	top: 110px;
	left: 118px;
  
}

.material-icons:hover {
	color: red;
}

} 
/* END OF MEDIA QUERY FOR < 600PX  */


#tribute-info {
	background-color: white;
	color: black;
	padding: 50px;
	padding-top: 20px;
	text-align: center;
	line-height: 30px;
}


.timeline {
	padding-top: 35px;
	padding-bottom: 35px;
	letter-spacing: 1px;
	text-decoration: underline;
}

#posters {
	background-color: black;
	padding: 150px 150px;
}

li {
	list-style-type: none;
}

.view-more {
	background-color: white;
	color: #A9A9A9;
	padding: 20px 20px;
	font-weight: 300px;
}

#tribute-link {
	text-decoration: none;
}

#tribute-link:hover {
	text-decoration: underline;
}

.btm-brder {
	border-bottom: 0.5px solid #DCDCDC;
}
              
            
!

JS

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

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

              
            
!
999px

Console