css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <!DOCTYPE html>
<html >
	<meta charset="utf-8">
	<meta name="description" content="Giant Panda by Yingjie Hu">
	<meta name="author" content="Yingjie Hu">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="keywords" content="animal, panda, giant panda">
	<title>Giant Panda</title>

	<link rel="stylesheet" href="styles.css">
	<div class="card" >
		<!-- your favorite animal's name goes here -->
		<h3 class="heading">Giant Panda</h3>
		<!-- your favorite animal's image goes here -->
		<img class="img-style" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRdCKEUbDAMMcac5-f65_DJRQQTn4jvtgk48BVg6AHbcU5IRJZdVw" alt="panda">
		<div class="info">
			<!-- your favorite animal's interesting fact goes here -->
			<p class="fun"><i>These guys are BIG eaters – every day they fill their tummies for up to 12 hours, shifting up to 12 kilograms of bamboo!</i></p>
				<!-- your favorite animal's list items go here -->
				<li class="list"><span class="list-item">Scientific Name</span>: Ailuropoda melanoleuca</li>
				<li class="list"><span class="list-item">Height</span>: 2 – 3 ft. (Adult, At Shoulder)</li>
				<li class="list"><span class="list-item">Mass</span>: Female: 150 – 220 lbs (Adult)</li>
				<li class="list"><span class="list-item">Lifespan</span>:  20 years (In the wild)</li>
			<!-- your favorite animal's description goes here -->
			<p>The giant panda is a bear native to south central China. It is easily recognized by the large, distinctive black patches around its eyes, over the ears, and across its round body. The name "giant panda" is sometimes used to distinguish it from the unrelated red panda. </p>
			<p>Though it belongs to the order Carnivora, the giant panda's diet is over 99% bamboo. Giant pandas in the wild will occasionally eat other grasses, wild tubers, or even meat in the form of birds, rodents, or carrion. In captivity, they may receive honey, eggs, fish, yams, shrub leaves, oranges, or bananas along with specially prepared food.</p>

              /* add your CSS here */
  text-align: center;
  font-family: Times, Arial, sans-serif;

.img-style {
  width: 300px;

  border: 1px solid silver;
  padding: 10px;
  margin: 20px;
  width: 400px;
  margin: auto;
  box-shadow: 10px 10px 5px 0px silver;
  border-radius: 20px;

.heading {
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;

.info {
  border: 1px solid silver;
  padding: 5px 10px 10px 10px ;
  text-align: left;
  margin-top: 20px;
  border-radius: 5px;

  font-weight: bold;

.list {
  list-style-type: none;
  margin-left: -40px;

.fun {
  margin: 20px 40px;

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................