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.


                <!DOCTYPE html>
<html lang="en">
  <title>Bootstrap 4 Website Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
  <script src=""></script>
  .fakeimg {
    height: 200px;
    background: #aaa;
<body id="bg">

<div class="jumbotron text-center" style="margin-bottom:0">
  <h1 class="text-info">Climate Change </h1>

  <a href="" class="typewrite"data-period="2000" data-type='[ "What is climate change?", "What problems does it causes?." ]'>
    <span class="wrap"></span>

<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
  <button type="button" class="btn btn-info"> Solutions </button>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
    <span class="navbar-toggler-icon"></span>
  <div class="collapse navbar-collapse" id="collapsibleNavbar">
    <ul class="navbar-nav">
      <li class="nav-item">
        <a class="nav-link" href="#">facts</a>
      <li class="nav-item">
        <a class="nav-link" href="#">About climate change</a>
      <li class="nav-item">
        <a class="nav-link" href="#">More</a>

<div class="container" style="margin-top:30px">
  <div class="row">
    <div class="col-sm-6">
      <h2 class="text-warning">Cause of Climate change</h2>
      <h5 class="text-warning">Facts:</h5>
      <iframe width="560" height="315" src="" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
      <p> Climate change includes the change of temperature in a place and can be connected to global warming that is caused by human emissions of greenhouse gases, and resulting in a large-scale shifts in weather patterns. This is important because it helps us understand what is the reason that climate change is caused. </p>
      <h3 class="text-info">More</h3>
      <p>Where  to find more information:</p>
      <ul class="nav nav-pills flex-column">
        <li class="nav-item">
          <a class="nav-link active" href="#">Active</a>
        <li class="nav-item">
          <a class="nav-link" href="">NASA GLOBAL CLIMATE CHANGE</a>
        <li class="nav-item">
          <a class="nav-link" href="">EPA CLAMATE CHANGE</a>
        <li class="nav-item">
          <a class="nav-link disabled" href="#">Disabled</a>
      <hr class="d-sm-none">
    <div class="col-sm-5">
      <h2 class="text-info" >Problems</h2>
      <h5>What are some problems caused by climate change</h5>
      <img src="" alt="..." class="img-thumbnail">
      <p class= "">Global climate causes a lot of problem for us. The leves of the sea increase that is a problem for us as the increase of the sea level threatens coastal zones by causing flooding, it damages the land by filling it with sea salt that can become harmful and a problem for the people, animals, and plants that are habitats of that land which can prevent the land from growth. Another problem that it brings is that the temperature drastically increase wich cause the lands to dry and it can causes diferent parst of the world to change this can cuse a big inpact on the animals, plants and people that live in that part of the world.</p>
      <h2 class="text-info">How to help</h2>
      <h5>Can we prebent more climate change?</h5>
          <div id="demo" class="carousel slide" data-ride="carousel">

  <!-- Indicators -->
  <ul class="carousel-indicators">
    <li data-target="#demo" data-slide-to="0" class="active"></li>
    <li data-target="#demo" data-slide-to="1"></li>
    <li data-target="#demo" data-slide-to="2"></li>

  <!-- The slideshow -->
  <div class="carousel-inner">
    <div class="carousel-item active">
      <img src="" alt="beautiful">
    <div class="carousel-item">
      <img src="" alt="art">
    <div class="carousel-item">
      <img src="" alt="New York">

  <!-- Left and right controls -->
  <a class="carousel-control-prev" href="#demo" data-slide="prev">
    <span class="carousel-control-prev-icon"></span>
  <a class="carousel-control-next" href="#demo" data-slide="next">
    <span class="carousel-control-next-icon"></span>

      <p class="text-warning">Be part of the solution</p>
      <p>Some thing that we can do to help stope climate change is by taking about it more speak up about what is happening and why is it a problem, invest in energy-efficient appliances, try to reduce water waste,Power your home with renewable energy, and make less toxic gases like carbon diox.  </p>

<div class="jumbotron text-center" style="margin-bottom:0">
<div class="progress">



                body {
  text-align: center;

* { color:text-success; text-decoration: none;}
  background-image: url("");


                var TxtType = function(el, toRotate, period) {
        this.toRotate = toRotate;
        this.el = el;
        this.loopNum = 0;
        this.period = parseInt(period, 10) || 2000;
        this.txt = '';
        this.isDeleting = false;

    TxtType.prototype.tick = function() {
        var i = this.loopNum % this.toRotate.length;
        var fullTxt = this.toRotate[i];

        if (this.isDeleting) {
        this.txt = fullTxt.substring(0, this.txt.length - 1);
        } else {
        this.txt = fullTxt.substring(0, this.txt.length + 1);

        this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';

        var that = this;
        var delta = 200 - Math.random() * 100;

        if (this.isDeleting) { delta /= 2; }

        if (!this.isDeleting && this.txt === fullTxt) {
        delta = this.period;
        this.isDeleting = true;
        } else if (this.isDeleting && this.txt === '') {
        this.isDeleting = false;
        delta = 500;

        setTimeout(function() {
        }, delta);

    window.onload = function() {
        var elements = document.getElementsByClassName('typewrite');
        for (var i=0; i<elements.length; i++) {
            var toRotate = elements[i].getAttribute('data-type');
            var period = elements[i].getAttribute('data-period');
            if (toRotate) {
              new TxtType(elements[i], JSON.parse(toRotate), period);
        // INJECT CSS
        var css = document.createElement("style");
        css.type = "text/css";
        css.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}";