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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

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

Packages

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.

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>
<body id="main">
	<div class="header">
		<div class="header_inner">
			<div id="title">
				<h1>Type O Negative</h1>
			</div>
			<div class="subtitle">
				<h2>. . . the drab four </h2>
			</div>
		</div>
	</div>
	<div id="img-div">
		<img id="image" src="https://www.revolvermag.com/sites/default/files/media/images/article/gettyimages-85239736.jpg" alt="The band Type O Negative sitting on a grassfield.">
		<figcaption id="img-caption">From left to right, Johnny Kelly (drums), Peter Steele (lead vocals, bass), Josh Silver (keyboards) and Kenny Hickey (guitar).</figcaption>
 	</div>
	<main>
		<div class="content">
			<hr>
			<div class="tribute_title">
				<h3>Biography</h3>
			</div>
			<div class="tribute_body">
				<div class="tribute_img">
					<img src="https://i7.tagstat.com/p1/p/uUrHSpEYfvf9WGUQjTbszB2x8q6NoBHGIYNXTexK1rbcudufQClxEsBZCjOkveJW.jpg">
					<figcaption id="img-caption2">Peter Steele performing in 1996.</figcaption>
				</div>
				<div id="tribute-info">
					<p>Type O Negative was an American gothic metal band formed in Brooklyn, New York in 1989, by Peter Steele (lead vocals, bass), Kenny Hickey (guitar, co-lead vocals), Josh Silver (keyboards, backing vocals), and Sal Abruscato (drums, percussion), who was later replaced by Johnny Kelly. Their lyrical emphasis on themes of romance, depression, and death resulted in the nickname "the Drab Four" (in homage to the Beatles' "Fab Four" moniker).</p>
					<p>The band went Platinum with 1993's Bloody Kisses, and Gold with 1996's October Rust, and gained a fanbase through seven studio albums, two best-of compilations, and concert DVDs.</p>
					<p>On April 14, 2010, Steele died, reportedly from heart failure brought on by an aortic aneurysm. Hickey and Kelly stated in a November 2010 interview with French music magazine Rock Hard that Type O Negative had broken up following Steele's death.</p>
				</div>
			</div>
			<hr>
			<div class="tribute_title" style="margin-bottom: 25px">
				<h3>Discography</h3>
			</div>
			<div class="discography_body">
				<div class="card album_border">
					<img class="album card_img" src="https://images-na.ssl-images-amazon.com/images/I/81qO4c%2BA3zL._SL1425_.jpg" alt="Type O Negative's 'Slow, Deep and Hard' album cover.">
					<div class="album_card">
						<h4 class="album_title">Slow, Deep and Hard</h4>
						<p class="album_year">1991</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://img.discogs.com/g-u6fpz0jSG5gjzbSIgLfz6LfYs=/fit-in/600x603/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/R-368069-1245918939.jpeg.jpg" alt="Type O Negative's 'The Origin of the Feces' album cover.">
					<div class="album_card">
						<h4 class="album_title">The Origin of the Feces</h4>
						<p class="album_year">1992</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://metal.academy/uploads/releases/495c189e2be6fdd7c90503799631b088.jpg" alt="Type O Negative's 'Bloody Kisses' album cover.">
					<div class="album_card">
						<h4 class="album_title">Bloody Kisses</h4>
						<p class="album_year">1993</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://images-na.ssl-images-amazon.com/images/I/81ZPZpWrkjL._SL1410_.jpg" alt="Type O Negative's 'October Rust' album cover.">
					<div class="album_card">
						<h4 class="album_title">October Rust</h4>
						<p class="album_year">1996</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://i.scdn.co/image/ab67616d0000b27319dba8c09733c29f11d74a6a" alt="Type O Negative's 'World Coming Down' album cover.">
					<div class="album_card" style="width: 90%; height: 80%;">
						<h4 class="album_title" >World Coming Down</h4>
						<p class="album_year">1999</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://lastfm.freetls.fastly.net/i/u/ar0/d7ec28f1f9834e84864d719b0a4092dd.jpg" alt="Type O Negative's 'Life Is Killing Me' album cover.">
					<div class="album_card">
						<h4 class="album_title">Life Is Killing Me</h4>
						<p class="album_year">2003</p>
						<p class="album_label">Roadrunner Records</p>
					</div>
				</div>
				<div class="card album_border">
					<img class="album card_img" src="https://images-na.ssl-images-amazon.com/images/I/71e2PThXfKL._SL1200_.jpg" alt="Type O Negative's 'Dead Again' album cover.">
					<div class="album_card">
						<h4 class="album_title">Dead<br>Again</h4>
						<p class="album_year">2007</p>
						<p class="album_label">SPV Records</p>
					</div>
				</div>				
			</div>
			<hr>
			<div class="tribute_title" style="margin-bottom: 25px">
				<h3>Learn more...</h3>
			</div>	
			<div class="more-link">
				<p>To learn more about Type O Negative, visit their <a id="tribute-link" target="_blank" href="https://en.wikipedia.org/wiki/Type_O_Negative">Wikipedia page</a>.</p>
			</div>
		</div>
	</main>
</body>
              
            
!

CSS

              
                #main {
	margin: 0;
	padding: 0;
}
.header {
	width: auto;
	height: 100px;
	margin: 0px 200px;
	display: flex;
}
.header_inner {
	background-color: #000000;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: table;
}
#title {
	height: 100%;
	padding-left: 30px;
	display: table;
	float: left;
}
#title h1 {
	font-family: "Archivo Black";
	text-transform: uppercase;
	font-size: 65px;
	color: #FFFFFF;
	display: table-cell;
	vertical-align: middle;
}
.subtitle {
	height: 100%;
	text-align: right;
	padding: 0px 30px 10px 0px;
	float: right;
	display: table;
}
.subtitle h2 {
	font-family: "Lexend Zetta";
	font-size: 30px;
	display: table-cell;
	vertical-align: bottom;
	color: #FFFFFF;

}
#img-div {
	margin: 0px 200px;	
}
img {
	width: 100%;
	display: flex;
}
#image {
	width: 100%;	
	display: flex;
	justify-content: center;
}
#img-caption {
	background-color: #000000;
	color: #FFFFFF;
	font-family: Prompt;
	text-align: center;
  padding: 20px;
}
.content {
	background-color: #000000;
	height: 100%;
	margin: 0px 200px;
	padding: 50px;
	width: auto;
}
.tribute_title {
	background-color: #000000;
	height: 100px;
	display: table;
}
.tribute_title h3 {
	color: white;
	font-family: "Lexend Zetta";
	font-size: 60px;
	display: table-cell;
	vertical-align: middle;
}
.tribute_body {
	display: grid;
	grid-template-columns: 1fr 2fr;
	grid-gap: 20px;
	margin-bottom: 80px;
}
.tribute_img {
	margin: 20px;
	width: auto;
	height: auto;
}
.tribute_img img {
	border: 1px solid #D8D8D8;
}
#img-caption2 {
	background-color: #000000;
	color: #FFFFFF;
	font-family: Prompt;
	text-align: center;
}
#tribute-info {
	margin: 0px;
}
#tribute-info p {
	color: #E6E6E6;
	font-family: Prompt;
	font-size: 18px;
	text-align: justify;
	line-height: 50px;
	text-indent: 5em;
}
.discography_body {
	/*display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr 1fr 1fr;
	grid-gap: 20px;*/
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 80px;
}
.album {
	width: 416px;
	height: 416px;
}
.album_border {
	border: 1px solid #D8D8D8;
}
.card {
	position: relative;
	background-color: #000000;
	margin: 5px;
}
.card_img {
	display: block;
	transition: opacity ease-out 250ms;
	opacity: 1;
}
.card:hover .card_img {
	opacity: 0.15;
}
.album_card {
	width: 80%;
	height: 80%;
	position: absolute;
	top: 50%;
	left: 50%;
	text-align: center;
	transform: translate(-50%,-50%);
	opacity: 0;
	transition: opacity ease-out 250ms;
}
.card:hover .album_card {
	opacity: 1;
}
.album_title {
	text-transform: uppercase;
	font-family: "Archivo Black";
	font-size: 40px;
	color: #FFFFFF;
	line-height: 50px;
}
.album_year {
	font-family: "Archivo Black";
	font-size: 40px;
	color: #FFFFFF;
}
.album_label {
	text-transform: uppercase;
	font-family: "Archivo Black";
	font-size: 20px;
	color: #FFFFFF;
}
.more-link {
	color: #E6E6E6;
	font-family: Prompt;
	font-size: 30px;
	text-align: center;
	line-height: 50px;
}
.more-link a {
	color: #FFFFFF;
}
#tribute-link:hover{
	color: #4BDA00;
}
              
            
!

JS

              
                
              
            
!
999px

Console