Pen Settings

HTML

CSS

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

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

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.

HTML

              
                <!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Test</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
 <!-- Tell our loader to go in action as we await data to be fetched -->
<div class="loading-container" id="loader" role="status">
  <div class="loading"> Loading...
    <div class="l1">
      <div></div>
    </div>

    <div class="l2">
      <div></div>
    </div>

    <div class="l3">
      <div></div>
    </div>

    <div class="l4">
      <div></div>
    </div>

  </div>

</div>
  <!-- Fething and dislaying our data -->
<div class="Content">
  <header><h2>Hot Upcoming NFT Blue Chips</h2></header>
</header>
<table className="table table-bordered" border="3" width="80%" height="70%">
  <tbody id="data">
  </tbody>
</table>
  </div>
</body>
</html>

              
            
!

CSS

              
                tbody{
            background-color:brown;
            color:lightblue;
        }
/*Style for the Loader*/
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.Content {
    display: none;
}

body,
html {
    min-height: 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.loading-container {
    width: 256px;
    height: 256px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.loading {
    width: 64px;
    height: 64px;
    position: absolute;
    top: 36%;
    left: 36%;
    transform: rotate(45deg);
}

.loading div {
    width: 32px;
    height: 32px;
    position: absolute;
}

.l1 div,
.l2 div,
.l3 div,
.l4 div {
    width: 100%;
    height: 100%;
    background-color: #3498db;
}

.l1 {
    transform: translate(0, 0);
}
.l2 {
    transform: translate(0, 32px);
}
.l3 {
    transform: translate(32px, 0px);
}
.l4 {
    transform: translate(32px, 32px);
}

@keyframes rot1 {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(90deg);
    }

    100% {
        transform: rotate(90deg);
    }
}

@keyframes rot2 {
    0% {
        transform: rotate(0deg);
    }

    40% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(0deg);
    }

    60% {
        transform: rotate(-90deg);
    }

    100% {
        transform: rotate(-90deg);
    }
}

@keyframes rot3 {
    0% {
        transform: rotate(45deg);
    }

    35% {
        transform: rotate(45deg);
    }

    65% {
        transform: rotate(405deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

@keyframes l1-rise {
    0% {
        transform: translate(0px, 0px);
    }

    30% {
        transform: translate(-8px, -8px);
    }

    70% {
        transform: translate(-8px, -8px);
    }

    100% {
        transform: translate(0px, 0px);
    }
}

@keyframes l2-rise {
    0% {
        transform: translate(0, 32px);
    }

    30% {
        transform: translate(-8px, 40px);
    }

    70% {
        transform: translate(-8px, 40px);
    }

    100% {
        transform: translate(0, 32px);
    }
}

@keyframes l3-rise {
    0% {
        transform: translate(32px, 0px);
    }

    30% {
        transform: translate(40px, -8px);
    }

    70% {
        transform: translate(40px, -8px);
    }

    100% {
        transform: translate(32px, 0px);
    }
}

@keyframes l4-rise {
    0% {
        transform: translate(32px, 32px);
    }

    30% {
        transform: translate(40px, 40px);
    }

    70% {
        transform: translate(40px, 40px);
    }

    100% {
        transform: translate(32px, 32px);
    }
}

@keyframes color {
    0% {
        background-color: #3498db;
    }

    50% {
        background-color: #2980b9;
    }

    100% {
        background-color: #3498db;
    }
}

.l1 {
    animation: l1-rise 5s ease 0s infinite;
}
.l2 {
    animation: l2-rise 5s ease 0s infinite;
}
.l3 {
    animation: l3-rise 5s ease 0s infinite;
}
.l4 {
    animation: l4-rise 5s ease 0s infinite;
}

.l1 div,
.l4 div {
    animation: rot1 5s ease 0s infinite, color 5s linear 0s infinite;
}
.l2 div,
.l3 div {
    animation: rot2 5s ease 0s infinite, color 5s linear 0s infinite;
}

/* STYLE FOR MY CONTENT */

.img-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

iframe {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
}

header {
    background-color: #2a88e6;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    text-align: center;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    padding: 5px 0;
}

              
            
!

JS

              
                  getData();
  
//Async funtion
  async function getData() {
    const response = await fetch("https://appcode.free.beeceptor.com/my/api/Json/NFTs")
    console.log(response);
    const data = await response.json();
    console.log(data);
    length = data.NFTs.length;
    console.log(data);
    var temp = "";
    for (i = 0; i < length; i++) {
      temp += "<tr>";
      temp += "<td>" + data.NFTs[i].Id + "</td>";
      temp += "<td>" + data.NFTs[i].Name + "</td>";
      temp += "<td>" + data.NFTs[i].Supply + "</td>";
      temp += "<td>" + data.NFTs[i].Mint_Price + "</td>";
      temp += "<td>" + data.NFTs[i].Mint_Date + "</td>";
    }

    document.getElementById("data").innerHTML = temp;
  }
//function to stop our loader
  $(window).on('load', function() {
    $(".loading").fadeOut(2000);
    $(".loading-container").fadeOut(2000);
    $(".l1").fadeOut(2000);
    $(".l2").fadeOut(2000);
    $(".l3").fadeOut(2000);
    $(".l4").fadeOut(2000);
    $(".Content").fadeIn(4000);
  });
              
            
!
999px

Console