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>
<main id="main">
 <h1 id="title">#Kobe</h1>
 <h2>A Tender One</h2>
  <figure id="img-div">
  <img id="image" src="https://i.ibb.co/b2NVsdG/kobepetcat.jpg" alt="kobepetcat"/>
   <figcaption id="img-caption">Kobe staring seriously at me.</figcaption></figure>
  <div id="tribute-info"><div class="bg">...<p><strong>H</strong>ere he is, a pet I'll always miss;
   <strong>W</strong>henever I go far away, looking at him makes everything at ease.
   <strong>J</strong>ust look at those eyes;
   <strong>C</strong>ute looking one who is so, so nice.
   <strong>F</strong>urry black as he is;
   <strong>A</strong>s he always makes me sneeze.
   <strong>I</strong> just feel happy just as fizz;
   <strong>C</strong>an't feel glad that I'm his owner, Chris.</p>...
  </div>
</div>
  <!--I just used a link of a picture of my pet as I don't have any other profile or any reference of him online.-->
  <a id="tribute-link" href="https://ibb.co/RNZdnw5" target="_blank">Curious Kobe</a>
</main>
<footer>Simply created by:<p id="nameowner">Christian Paul</p></footer>
              
            
!

CSS

              
                html	{
	background: #fcf7cf;
	font-size: 18px;
}
h1	{
	font-family: "Rock Salt"; font-size: 10vw;
	margin: 0 auto;
	text-align: center;
	color: rgba(80, 39, 1, 9);
}
h2	{ 
	font-family: "Merienda One"; font-size: 3vw;
	color: rgba(51, 39, 0, 1);
	text-align: center;
}
img {
	display: block;
	max-width: 90%;
  height: auto;
	margin: 0 auto;
	padding: 3% 0 0;
}
#img-div	{
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	width: 700px;
	max-width: 100%;
	height: auto;
	background: white;
	margin: 0 auto;
	text-align: center;
	font-family: Segoe UI;
}
#img-caption	{
	padding: 1% 0;
	font-size: 1.5vw;
}
#tribute-info	{
	font-size: 1.5vw;
	font-family: Segoe UI;
	text-align: center;
	max-width: 100%;
	white-space: pre-line;
	}
.bg	{
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
	background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.4)),  url(https://i.ibb.co/R4RpBr4/91913496-2333170820313915-826619181133725696-o.jpg);
	background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
	background-size: 100%;
	padding: 0px;
	max-width: 700px;
	height: auto;
	margin: 0 auto;
	position: center;
}
br	{
	margin: 0;
}
#tribute-link	{
	text-align: center;
	font-family: Merienda One; 
	background: #fcf7cf;
	display: block;
	max-width: 15%;
	padding: 0.5% 1.5%;
	margin: 5% auto 5%;
	cursor: pointer;
	color: black;
	text-decoration: none;
	border-radius: 10%;
	font-size: 2vw;
}
#tribute-link:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}
footer	{
	background-color: black;
	text-align: center;
	font-family: Merienda One; 
	color: #fefbe7;
	font-size: 2vw;
}
footer p	{
	font-family: Merienda One;
	color: #fefbe7;
}
              
            
!

JS

              
                
              
            
!
999px

Console