JSFiddle - React, Tailwind, and code Playground

by deathstalkersid

HTML

<!DOCTYPE html>
<html lang="en">

  <head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
  </head>

  <body>
    <div class="container-md mt-5 d-grid">
      <div class="row gx-0">
        <!--gx sets the gutter btw columns to 0-->
        <div class="col-sm-8 mb-3 mb-sm-0">
          <img src="https://occ-0-1068-1723.1.nflxso.net/dnm/api/v6/E8vDc_W8CLv7-yMQu8KMEC7Rrr8/AAAABUS_nE5EL-spv5wqdKWF36MPnEZHNLI4HeGb8qDG8ftgqOq6QO5ypv1crnpYie4dRmA4D09_tEMY4bdY8OL_f2Y1I0UD.jpg?r=20a" alt="Edge of Tomorrow" class="img-fluid" href="featured.html" style="height: 400px;">
        </div>
        <div class="col-sm-4 bg-light d-flex flex-column align-items-center justify-content-center text-center">
          <h1>Edge of Tomorrow</h1>
          <div class="rating">
            <span class="fa fa-star checked"></span>
            <span class="fa fa-star checked"></span>
            <span class="fa fa-star checked"></span>
            <span class="fa fa-star"></span>
            <span class="fa fa-star"></span>
          </div>
          <p>It leaves you on the edge, wishing for a tomorrow. An epic action movie with twists and turns along
            the way.</p>
          <button class="featured-button"><a href="featured.html">Read more &#8594;</a></button>
        </div>
      </div>
    </div>
    <div class="container card-deck mt-5">
      <!--card deck so that it's equal height and width-->
      <div class="row">
        <div class="col-md-4">
          <div class="card h-100">
            <img class="card-img-top" src="https://occ-0-1068-1723.1.nflxso.net/dnm/api/v6/E8vDc_W8CLv7-yMQu8KMEC7Rrr8/AAAABUS_nE5EL-spv5wqdKWF36MPnEZHNLI4HeGb8qDG8ftgqOq6QO5ypv1crnpYie4dRmA4D09_tEMY4bdY8OL_f2Y1I0UD.jpg?r=20a" alt="500 Days of Summer">
            <div...