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

              
                <!-- product landing page -->

<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>

<body>

	<!-- Header	 -->

	<header id="header">

		<!-- 	Navigation Bar	 -->

		<nav class="navbar" id="nav-bar">

			<div class="logo">
				<a href="#home">
					<img class="logo-icon" id="header-img" src="https://www.svgrepo.com/show/122143/cat.svg" alt="cat logo">
					<span class="logo-name">Molly&Felix</span>
				</a>
			</div>
			<div class="hero">
				<p>50% OFF your first box!</p>
				<p><a href="#on-board"><strong>&ensp;Give us a try now!</strong></a></p>
			</div>
			<ul>
				<li><a class="nav-link" href="#how-it-works">How it works</a></li>
				<li><a class="nav-link" href="#fresh-food">Fresh food</a></li>
				<li><a class="nav-link" href="#on-board">Sign up</a></li>
				<li><a class="nav-link" href="#more-info">Login</a></li>
			</ul>
		</nav>

	</header>

	<main>

		<!-- 		Home	 -->

		<section class="home page" id="home">
			<div class="text">
				<h1>As true as a kitty's kiss</h1>
				<p class="feel">Feel good about what you feed with fresh, raw cat food delivered safely and conveniently to your door.</p>
				<p><a href="#on-board"><input id="#submit" type="submit" value="Get started" class="button"></p></a>
			</div>
			<div class="image"></div>
		</section>

		<!-- 	Features	 -->

		<section class="features part" id="features">
			<div class="card">
				<img src="https://www.svgrepo.com/show/229983/plant-leaf.svg" alt="leaf">
				<h4>Quality natural ingredients</h4>
				<p>Cat ipsum dolor sit amet, scottish fold. Himalayan tiger. Donskoy panther or himalayan for sphynx. Devonshire rex ragdoll but devonshire rex, ocelot ocelot birman. </p>
			</div>
			<div class="card">
				<img src="https://www.svgrepo.com/show/213446/healthy-food-animal.svg" alt="healthy">
				<h4>Nutritiously balanced and complete</h4>
				<p>Cat ipsum dolor sit amet, siamese, or himalayan yet ragdoll. American shorthair norwegian forest jaguar. Havana brown bombay. Kitty kitty.</p>
			</div>
			<div class="card">
				<img src="https://www.svgrepo.com/show/46514/delivery.svg" alt="delivery">
				<h4>Delivered fresh</h4>
				<p>Cat ipsum dolor sit amet, manx tiger for burmese. Malkin mouser siberian persian. Ocicat norwegian forest, burmese, american bobtail for panther himalayan.</p>
			</div>
			<div class="card">
				<img src="https://www.svgrepo.com/show/7063/online-shop.svg" alt="share">
				<h4>We give back to kitten rescue organizations and no-kill shelters</h4>
				<p>Cat ipsum dolor sit amet, egyptian mau siamese. Lynx maine coon, for russian blue persian so american shorthair but american bobtail yet havana brown. British shorthair tom yet tomcat, yet russian blue.</p>
			</div>
		</section>

		<!-- 	How it works	 -->

		<section class="how-it-works part" id="how-it-works">
			<h2>How Molly&Felix works</h2>
			<div class="how">
				<section class="how-card">
					<img src="https://www.svgrepo.com/show/347228/number-1.svg" alt="1">
					<h3>Tell us about your cat</h3>
					<p>Cat ipsum dolor sit amet, i shredded your linens for you you call this cat food for find empty spot in cupboard and sleep all day. Only use one corner of the litter box. Hiiiiiiiiii feed me now cry louder at reflection.</p>
				</section>
				<section class="how-card">
					<img src="https://www.svgrepo.com/show/347229/number-2.svg" alt="2">
					<h3>Sign up for your starter box</h3>
					<p>Cat ipsum dolor sit amet, sit in window and stare oooh, a bird, yum jump off balcony, onto stranger's head for give me attention or face the wrath of my claws.</p>
				</section>
				<section class="how-card">
					<img src="https://www.svgrepo.com/show/347230/number-3.svg" alt="3">
					<h3>We deliver</h3>
					<p>Cat ipsum dolor sit amet, meow. Meow all night having their mate disturbing sleeping humans spread kitty litter all over house.</p>
				</section>
				<section class="how-card">
					<img src="https://www.svgrepo.com/show/347231/number-4.svg" alt="4">
					<h3>Easy to serve</h3>
					<p>Cat ipsum dolor sit amet, stare at guinea pigs. Wack the mini furry mouse. Meow all night having their mate disturbing sleeping humans eat fish on floor x.</p>
				</section>
			</div>
		</section>

		<!-- 	Fresh food	 -->

		<section class="fresh-food part" id="fresh-food">
			<!-- 	Embedded Video		 -->
			<iframe id="video" width="560" height="315" src="https://www.youtube.com/embed/qAuBCUqQHoY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
			<h2>Your kitty's fave meal</h2>
			<p class="meal">Cat ipsum dolor sit amet, puma tabby or cornish rex so malkin. Panther. Cheetah jaguar for sphynx bombay for jaguar but burmese thai. Burmese american bobtail yet bombay yet tabby jaguar but british shorthair or tom.</p>
			<div class="product-container">
				<div class="product">
					<img src="https://www.svgrepo.com/show/64207/chicken.svg" alt="chicken">
					<h3>Chicken</h3>
					<p class="food">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pharetra diam sit amet nisl suscipit adipiscing bibendum est. Id semper risus in hendrerit.</p>
					<h4><a class="btn" href="#on-board">$13.50 per package</a></h4>
				</div>
				<div class="product">
					<img src="https://www.svgrepo.com/show/209846/turkey.svg" alt="turkey">
					<h3>Turkey</h3>
					<p class="food">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pharetra diam sit amet nisl suscipit adipiscing bibendum est. Id semper risus in hendrerit.</p>
					<h4><a class="btn" href="#on-board">$14.99 per package</a></h4>
				</div>
				<div class="product">
					<img src="https://www.svgrepo.com/show/10346/lamb.svg" alt="lamb">
					<h3>Lamb</h3>
					<p class="food">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Pharetra diam sit amet nisl suscipit adipiscing bibendum est. Id semper risus in hendrerit.</p>
					<h4><a class="btn" href="#on-board">$20.25 per package</a></h4>
				</div>
			</div>
		</section>

		<!-- 	On board	 -->

		<section class="on-board part" id="on-board">
			<p class="get">50% OFF your first box!</p>
			<h2>To get started introduce yourself</h2>
			<form id="form" action="https://www.freecodecamp.com/email-submit" target="_blank">
				<input name="email" id="email" type="email" placeholder="Enter your email address" required="">
				<input id="submit" type="submit" value="Get your starter box" class="button">
			</form>
		</section>

		<!-- 	More Info	 -->

		<section class="more-info-part" id="more-info">
			<div class="more-info">
				<h4>Product</h4>
				<p><a href="#how-it-works">How It Works</a></p>
				<p><a href="#fresh-food">Fresh Food</a></p>
				<p><a href="#fresh-food">Learning Resources</a></p>
			</div>
			<div class="more-info">
				<h4>About</h4>
				<p>Our Story</p>
				<p>Login</p>
			</div>
			<div class="more-info" id="support">
				<h4>Support</h4>
				<p><i class="fas fa-hourglass-start"></i>Business Hours</p>
				<p><i class="fas fa-envelope-open-text"></i>felinecare@molly&felix.com</p>
				<p><i class="fas fa-mobile-alt"></i>555-123-4567</p>
			</div>
			<div class="more-info">
				<h4>Connect With Us</h4>
				<div class="social">
					<p><i class="fab fa-twitter"></i></p>
					<p><i class="fab fa-instagram"></i></p>
					<p><i class="fab fa-pinterest"></i></p>
					<p><i class="fab fa-facebook-square"></i></p>
				</div>
			</div>
		</section>

		<div class="copyright">
			<p>2021 Molly&Felix, Inc.</p>
			<p class="left-pad">Privacy Policy</p>
			<p class="left-pad">Terms</p>
		</div>

	</main>

	<footer>
		<p>Created by Raya Bergin LBCC Fall2021 COSW20 &copy; 10Oct2021</p>
	</footer>

</body>

</html>
              
            
!

CSS

              
                * {
	/* Outline to view layout on screen while styling | Remove after styling */
	/* 	outline: 0.0625rem dashed #ff0075; */

	/* include rules for specific web page below this line */
	margin: 0;
	padding: 0;
	scroll-behavior: smooth;
}

html {
	box-sizing: border-box;
	font-size: 100%;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}

/* FONTS */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");

/* COLOR THEME */
/* #444444 Tundora (dark gray)
	#F6F6F6 Wild Sand (very light gray)
	#FDB827 My Sin (medium golden yellow)
	#7F7C82 Jumbo (medium gray)
	#000000 Black (obviously) */

body {
	font-family: "Work Sans", sans-serif;
	color: #000;
	background-color: #f6f6f6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Montserrat", sans-serif;
}

/* Header */
/* Navigation Bar */
.hero {
	display: flex;
}
.hero a {
	text-decoration: none;
	color: #444;
}
.hero a:hover {
	color: #fdb827;
}
.logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
	font-size: 1.875em;
	cursor: pointer;
	margin-left: 1.75em;
}
.logo-icon {
	width: 1.5em;
}
.logo-name {
	color: #444;
	font-size: 1.5rem;
	margin-left: 0.25em;
}
.logo-name:hover {
	color: #fdb827;
}
.navbar {
	display: flex;
	position: fixed;
	width: 100%;
	max-width: 90em;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	justify-content: space-between;
	align-items: center;
	background-color: #f6f6f6;
	z-index: 2;
}
.navbar ul {
	display: flex;
	list-style: none;
}
.navbar ul li {
	display: block;
}
.navbar ul li a {
	color: #444;
	text-decoration: none;
	letter-spacing: 0.125em;
	display: block;
	padding: 0.25em 1em;
	transition: 0.2s ease;
}
ul li:hover a {
	background: #fdb827;
	color: #f6f6f6;
}

/* Home */
.page {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.page .text {
	position: relative;
	z-index: 1;
	font-size: 1.75rem;
	color: #f6f6f6;
}
.feel {
	padding-top: 0.25em;
	padding-bottom: 0.5em;
}
.page .image {
	position: absolute;
	background: url(https://c4.wallpaperflare.com/wallpaper/534/808/26/cat-kitten-family-kiss-two-gray-and-black-coated-cats-wallpaper-preview.jpg);
	width: 100%;
	height: 100%;
	transform: scaleX(-1);
	background-position: center;
	background-size: cover;
	filter: brightness(50%);
}

/* Features | How it works | Fresh food | On board | More Info */
.part {
	position: relative;
	min-height: 100vh;
	padding: 1em 0;
	width: 100%;
}
.part h2 {
	font-size: 2.5rem;
	margin: 1em 1em;
	position: relative;
}
.part:nth-child(odd) {
	background: #7f7c82;
	color: #f6f6f6;
}
.part:nth-child(3) {
	background: #fdb827;
	color: #444;
}

/* Features */
.features {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	padding: 1em;
}
#features {
	min-height: 25vh;
}
.card {
	flex-basis: 20%;
	text-align: center;
	padding: 1em;
	min-width: 10em;
}
.card img {
	width: 4em;
	margin-bottom: 1em;
}
.card h4 {
	margin-bottom: 1em;
}
.card p {
	padding: 0.5em;
}

/* How it works */
.how {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.how-card {
	flex-basis: 20%;
	text-align: center;
	padding: 3em;
	border-radius: 0.25em;
	min-width: 10em;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
	margin-bottom: 1.25em;
}
.how-card img {
	width: 3em;
	margin-bottom: 1em;
}
.how-card h3 {
	margin-bottom: 1em;
}
#how-it-works {
	min-height: 50vh;
}

/* Fresh food */
#video {
	display: block;
	margin: 1.5em auto;
}
.meal {
	font-size: 1.75rem;
	margin: 0.5em 3em;
	text-align: justify;
}
.product-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
.product-container .product {
	flex-basis: 30%;
	text-align: center;
	color: #444;
	min-width: 15em;
	padding: 2em;
	margin-bottom: 1em;
}
.product img {
	width: 8em;
	margin-bottom: 1em;
}
.product h3 {
	font-size: 2rem;
}
.product .food {
	font-size: 1.25rem;
	padding: 1em;
}
.btn {
	font-size: 1.25rem;
	color: #444;
	background-color: #fdb827;
	text-decoration: none;
	padding: 0.5em 0.75em;
	border-radius: 0.25em;
	display: inline-block;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}
.btn:hover {
	background-color: #444;
	color: #f6f6f6;
}

/* On board */
.on-board {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.get {
	font-size: 2rem;
	color: #fdb827;
	margin-top: 1em;
}
input[type="email"] {
	max-width: 20em;
	width: 100%;
	padding: 0.75em;
	border-radius: 0.25em;
	margin-bottom: 1.5em;
}
input[type="submit"] {
	margin-bottom: 1.25em;
}
.button {
	font-weight: 900;
	color: #444;
	background-color: #fdb827;
	text-decoration: none;
	padding: 0.75em 3em;
	border-radius: 2em;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}
.button:hover {
	background-color: #444;
	color: #f6f6f6;
}
#on-board {
	min-height: 50vh;
}

/* More Info */
#more-info {
	min-height: 25vh;
	color: #444;
}
.more-info-part {
	display: flex;
	justify-content: space-evenly;
	width: 100%;
}
.more-info {
	flex: 1 1 auto;
	padding: 1em;
	line-height: 2em;
}
.more-info p {
	font-size: 0.9rem;
}
.more-info a {
	text-decoration: none;
	color: #444;
}
#support i {
	padding-right: 0.5em;
}
.social {
	display: flex;
}
.social i {
	font-size: 1.25rem;
	padding-right: 2em;
}
.copyright {
	display: flex;
	justify-content: flex-end;
	margin-right: 1.25em;
	margin-bottom: 1em;
}
.left-pad {
	padding-left: 2em;
}

/* Footer */
footer {
	background-color: #444;
	padding: 0.75em;
	color: #f6f6f6;
	text-align: center;
	font-size: 0.75rem;
}

@media screen and (min-width: 1440px) {
	body {
		width: 100%;
		max-width: 90em;
		margin: 0 auto;
	}
}

              
            
!

JS

              
                
              
            
!
999px

Console