Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource


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


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.


Auto Save

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.


                <h1>Fun facts about cats</h1>
<div class="article-list">
  <article class="article">
    <h2 class="article__title">Pawsitively Mysterious Purring</h2>
    <img alt="A cute random kitten" src="" width="300" height="200">
    <p>Cats are the only animals that can purr while both inhaling and exhaling, and the exact reason behind this unique behavior remains a scientific puzzle.</p>
  <article class="article">
    <h2 class="article__title">Eyes of the Night</h2>
    <img alt="A cute random kitten" src="" width="300" height="200">
    <p>Thanks to a reflective layer behind their retinas called the tapetum lucidum, cats have exceptional night vision, allowing them to see in light levels six times lower than what humans need.</p>
  <article class="article">
    <h2 class="article__title">Whisker Wonders</h2>
    <img alt="A cute random kitten" src="" width="300" height="200">
    <p>Cat whiskers are incredibly sensitive and help them navigate their environment by detecting changes in texture, air currents, and even gaps, making them essential tools for exploration.</p>


                .article-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  grid-auto-columns: 18rem;
  gap: 0 1rem;
  margin: 0 auto;
  max-width: fit-content;
  overflow: auto;

.article {
  display: contents;

.article__title {
  align-self: end;

img {
  max-width: 100%;
  height: auto;

h1 {
  text-align: center;



This is my answer to the challenge at