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 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

              
                <header class="flex-column">
  
  <div id="mynav">
  <nav class="navbar navbar-expand-sm bg-dark navbar-dark">  
  <!-- Links -->
  <ul class="navbar-nav">
    <li class="nav-item">
      <a class="nav-link" href="#">Favorite Songs</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#">Read More</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" href="#info">Interesting Facts</a>
    </li>
  </ul>
</nav>
    
  </div>
  <div id="header-image">
    
  <meta name="viewport" content="width=device-width, initial-scale=1">
  
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  <style>
  /* Make the image fully responsive */
  .carousel-inner img {
    width: 100%;
    height: 100%;
  }
  </style>
    <div class="container mt-3">

<h2>Carousel</h2>
<div id="myCarousel" class="carousel slide" data-ride="carousel">

  <!-- Indicators -->
  <ul class="carousel-indicators">
    <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
    <li data-target="#myCarousel" data-slide-to="1"></li>
    <li data-target="#myCarousel" data-slide-to="2"></li>
  </ul>
  
  <!-- The slideshow -->
  <div class="carousel-inner">
    <div class="carousel-item active"> 
      <img src="https://i.insider.com/5e1ced4049878c0435656228?width=1100&format=jpeg&auto=webp" alt="Los Angeles" width="1100" height="500">
    </div>
    <div class="carousel-item">
      <img src="chicago.jpg" alt="Chicago" width="1100" height="500">
    </div>
    <div class="carousel-item">
      <img src="ny.jpg" alt="New York" width="1100" height="500">
    </div>
  </div>
  
  <!-- Left and right controls -->
  <a class="carousel-control-prev" href="#myCarousel" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  </a>
  <a class="carousel-control-next" href="#myCarousel" data-slide="next">
    <span class="carousel-control-next-icon"></span>
  </a>
</div>

</div>
    <h1>Lizzo</h1>
  <span>By Haley</span>
</header>
  <body>  
  </div>
  
  
<section>
  <p>
   Combining her roots in Houston rap, gospel soul, and classical flute as confidently as she addresses issues of race and body positivity, singer/rapper Lizzo's music abounds with humor and charisma. Her 2013 debut, Lizzobangers, reflected her years in Minneapolis' hip-hop and indie music scenes (Doomtree's Lazerbeak was one of its producers), and as time went on, her style became more wide-ranging and melodic. On 2015's self-released Big Grrrl Small World, she added more R&B and gospel to her sound, a trend that continued on her brash major-label debut and breakthrough album, 2019's Cuz I Love You.
  </p>
  <div id="wrapper">
    <div class="flex-column">
      <h2>My Favorite Lizzo Songs</h2>
      <ol>
        <li>Water Me</li>
        <li>Like A Girl</li>
        <li>Soulmate</li>
      </ol>
      <h2>Read More About Lizzo</h2>
      <ul>
        <li>
          <a href="https://www.coolaccidents.com/news/lizzo-amazon-show-uproxx" target="_blank">Lizzo Signed A Deal With Amazon</a>
        </li>
        <li>
          <a href="https://www.everydaysociologyblog.com/2020/01/lizzo-and-sociocultural-constructions-of-the-body.html" target="_blank">Lizzo's Focus on Sociocultural Constructions of the Body</a>
        </li>
      </ul>
    </div>
    <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQjm_SImF-VENvyWwdQjbauhm839gPlmTKbjQ&usqp=CAU" alt="" />
  </div>
  
  
  <section id="info">
  <h2>More Interesting Information</h2>
  <p id="green">
    When high school was over, she studied classical flute performance at the University of Houston, but the loss of her father when she was 20 devastated her. Looking for a fresh start, Lizzo moved to Minneapolis in 2011 and soon became a part of the city's thriving music scene. She performed with groups including Lizzo & the Larva Ink and the Chalice, whose debut album, We Are the Chalice, appeared in 2012. During this time, she also worked on her own music and collaborated with Gayngs' Ryan Olson and Doomtree's Lazerbeak on her September 2013 debut album, Lizzobangers. The album's gritty sound earned Lizzo local and national acclaim, and she toured the U.S. and U.K. with Har Mar Superstar after its release.
  </p>
  </section>
  
</section>
  </body>
              
            
!

CSS

              
                body {
  background-color: #ff1ac6;
  color: white;
  max-width: 100%;
  font-family: Do Hyeon;
  font-size: larger;
  padding-top: 20px;
}

header {
  align-items: center;
  margin: 0 auto;
}

#header-image img {
  max-width: 80%;
  height: auto;
}

#mynav a {
  font-size: 35px;
}

#mynav li{
  padding-left: 20px;
  padding-right: 20px;
}



#header-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

section {
  max-width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 70px;
}

h1, h2 {
  color: #003366;
  font-family: "Courier New";
  margin: 0;
}

p {
  background-color: #003366;
  padding: 10px;
  text-align: center;
  margin: 60px;
  font-family: "Do Hyeon"
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  color: #003366;
  text-decoration: underline;
}
  
.flex-column {
  display: flex;
  flex-direction: column;
}

#wrapper {
  display: flex;
  justify-content: space-between
}

.blackbackground {
  background-color: black;
}

#green {
  background-color: green;
}

li {
  font-size: 30px;
}

.navbar navbar-expand-sm bg-dark navbar-dark {
  background-color: red;
}

              
            
!

JS

              
                
              
            
!
999px

Console