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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></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 

-->
<main id="main">
	<div id="title-box">
		<div id="title-case">
			<h1 class="tribute-title-light" id="title">William Tanuwijaya, Indonesian Jack Ma</h1>
		</div>
		<h2 class="tribute-subtitle-light" id="sub-title">William encouraged by his dream, start the Tokopedia Company, an online e-commerce in Indonesia that helps Indonesian merchant to sell their items online.</h2>
	</div>
	<div id="img-div" class="big-size">
		<figure>
			<img id="image" src="https://qubiz.net/wp-content/uploads/2018/10/William-Tanuwijaya-660x400@2x.jpg" alt="">
			<figcaption id="img-caption" class="img-caption">
				In this image seen that william is standing in the front of Tokopedia Company. his journey is full of obstacles. he always says that ordinary people can be extraordinary by working hard.
			</figcaption> 
		</figure>
	</div>
	<a href="https://www.tokopedia.com/about/?lang=en" target="_blank" id="company-mascot">
		<div  class="round-cream tooltip">
			<img src="https://ecs7.tokopedia.net/microsite-production/brand-asset/assets/img-tokopedia-icon.png" id="toped-mascot">
			<span class="tooltiptext">Click to see the website.</span>	
		</div>
	</a>

	<div id="tribute-background">
		<div id="tribute-info">
			<h3 class="tribute-content">Here's his life:</h3>
			<p>Tanuwijaya was born in Pematang Siantar, North Sumatra. He graduated from high school there, His family was middle income who supported his education. William went to college at Universitas Bina Nusantara (Binus) Jakarta. William married Felicia H.W. on November 28, 2015.</p>
			<p>To pay for college William worked part time. He worked in an internet cafe twelve hours a day until he graduated in 2003. He then worked as a software developer in companies including TelkomSigma and Sqiva Sistem. He later worked as a game developer at Bolehnet. In 2006 Tanuwijaya worked as IT and Business Development Manager at Indocom Mediatama.</p>
			<p>In 2007 William started to build Tokopedia, He asked his friend Leontinus Alpha Edison to join him as co-founder, an e-commerce startup that connects Indonesian buyers and sellers for free. At the same time his father was diagnosed with cancer. William has supported his family since that time.</p>
			<p>William is one of the founders of Indonesia eCommerce Association (IdEA) and serves as a member of its supervisory board.</p>
			<aside>
				"The past is something that we cannot change, but the future is still in our own hands"
				<div>
					- William Tanuwijaya
				</div>
			</aside>
			<p>Read more about this <em>awesome</em> figure <a id="tribute-link" href="http://www.yourtechstory.com/2019/02/02/william-tanuwijaya-founder-first-indonesian-unicorn-startup-tokopedia/" target="_blank">here</a>.</p>
		</div>
	</div>
	<footer>
		<p>&copy;2020 tribute to William Tanuwijaya by Muhammad Saleh</p>
	</footer>
</main>
              
            
!

CSS

              
                /*--------------main&body--------------------*/
body {
	position: relative;
	top: 100px;
	margin: 0;
	margin-top: -100px;
	min-width: 400px;
}

main {
	  margin-top: 0;
	  height: auto;
	  color: ;/*
	  background-image: url("https://qubiz.net/wp-content/uploads/2018/10/William-Tanuwijaya-660x400@2x.jpg");
	  background-size: cover;
	  background-position: fixed;
	  background-attachment: fixed;
	  background-repeat: no-repeat;*/
}
/*-------------title case--------------------*/
#title-box {
	text-align: center;
}
#title-case{
	
	background-color: rgba( 242, 235, 225, 0.5);
}
/*---------------img case--------------------*/
body main div.mini-size {
	position: relative;
	top: 200px;
	left: 50px;
	background-color: transparent; rgba(50, 50, 50, 0.9);
	font-family: 'Comfortaa', cursive;

}
body main div.big-size {

	height: auto;
	display: block;
	margin: auto;
	width: 90vw;
	text-align: center;
}
.tribute-content {
	margin-left: 50px;
}

/*-------------------title&sub-------------------------*/
body main div div h1.tribute-title-green {
	color: hsl(120,69%, 50%);
	font-size: 3em;
}
body main div h2.tribute-subtitle-black{
	margin: 0 auto auto 30px;
}
body main div div h1.tribute-title-light {
	color: hsl(120,69%, 50%);
	font-size: 3em;
	margin-left: 5vw;
	margin-right: 5vw;
}
body main div h2.tribute-subtitle-light {
	color: black;
	font-size: 1.2em;
	font-family: 'Open Sans Condensed', sans-serif;
	height: 70px;
}
/*-------------------mascot---------------------------*/
#company-mascot {
	height: 10vw;
	width: 10vw;
	border: 1px solid green;
	border-radius: 50%;
	background-color: hsl( 59, 20%, 97%);
	
	position: fixed;
	top: 5vw;
	right: 5vw;
}
#toped-mascot {
	margin-left: 10%;
	margin-right: 10%;
	margin-top:;
	margin-bottom:;
	width: 80%;
	
}
/*---------------------image----------------------------*/
#image {
	display: block;
	margin: auto;
	width: 60vw;
	max-width: 1320px;
	/*min-width: 500px;*/
}
div figure figcaption.img-caption {
	margin: 10px 70px 10px 70px;
}
/*---------------------content--------------------------*/
h3	{
	font-size: 2em;
}
#tribute-background {
	background-color: hsl(62,12%,90%);
	
	margin-right: 0;
	border: ;
	padding-bottom: 20px;
	padding-top: 20px;
}

#tribute-info {
	/*position: relative;
	top: 600px;*/
	margin: 0 auto;
	background-color: hsl(64, 26%, 94%); rgba(235,239,177,);
	
	font-family: 'News Cycle', sans-serif;
	
	width: 900px;
	min-height: 700px; 
	height: auto;
	text-align: justify;
	padding: 15px;
	
	line-height: 2em;
	
	font-size: 1.2em;
}
/*-----------------footer--------------------*/
footer{
	/*position: relative;
	top: 950px;
	bottom: 0;*/
	
	height: 80px;
	margin: 0 auto;
	margin-bottom: 0;
	padding-top: 50px;
	
	background-color: hsl(64, 26%, 80%);
}
footer > p {
	margin: auto;
	text-align: center;
}
/*------------------pullquote-----------------------*/
aside {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	color: #a5a4a4;
	font-style: italic;
	margin: 30px 0 30px 15px;
	padding-left: 15px;	
	width: 600px;
}
aside > div	{
	font-size: 0.9em;
	margin-left: 15px;
}
/*-------------------tooltip------------------------*/
.tooltip {
	position: relative;
}
/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 150%;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5% 0;
  border-radius: 6px;
 
  font-size: 20px;
	
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}
.tooltip .tooltiptext {
  top: 25%;
  right: 105%;
}
.tooltip:hover .tooltiptext {
	visibility: visible;
}
/*-------------------others-------------------------*/

/*-------------------media-queries-------------------*/
@media (min-width: 2000px) {
	.tooltip .tooltiptext{
		font-size: 70px;
	}
}
@media (max-width: 1600px){
	#company-mascot {
		position:fixed;
		top: 5vw;
		right: 5vw;
	}
}
@media (max-width: 700px)
{
	#company-mascot {
		position:fixed;
		top: -10000px;
	}
	aside {
		font-size: 4px;
	}
	body main div div h1.tribute-title-light {
		font-size: 1.4em;
	}
	body main div h2.tribute-subtitle-light {
		font-size: 1em;
	}
}
              
            
!

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