CSA adlı üyeden alıntı: mesajı görüntüle
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Quiz App with React + GSAP</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
  <style>
    * {
      box-sizing: border-box;
      font-family: "Be Vietnam Pro", sans-serif;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    button {
      font-family: "Be Vietnam Pro", sans-serif;
    }

    body {
      padding: 0 10vh;
      background-color: #1c1d20;
      background: #95e9e3;
      background: linear-gradient(62deg, #95e9e3 30%, #1fbed2 41%, #0b2632 85%);
      font-family: "Be Vietnam Pro", sans-serif;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      display: flex;
    }

    body:after {
      content: "";
      background-image: url(https://images.unsplash.com/photo-1623479322729-28b25c16b011?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1740&q=80);
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      z-index: -1;
      height: 100%;
      background-repeat: no-repeat;
      transition: 0.3s;
      background-size: cover;
      background-attachment: fixed;
      background-position: center;
    }

    @media (max-width: 980px), (max-height: 580px) {
      body {
        padding: 60px 20px;
      }
    }

    #app {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      justify-content: center;
    }

    .game-started:after {
      transform: translateX(calc(-50% - 100px));
    }

    @media (max-width: 980px), (max-height: 580px) {
      .game-started:after {
        transform: scale(1.2);
      }
    }

    .game {
      position: relative;
      max-width: 600px;
      width: 100%;
      height: 36vh;
      min-height: -webkit-max-content;
      min-height: -moz-max-content;
      min-height: max-content;
      margin: 32vh auto;
      box-shadow: 0 0 80px black, 0 0 0 16px rgba(152, 236, 255, 0.1);
      border-radius: 12px;
      overflow: hidden;
      scroll-behavior: smooth;
      display: flex;
      transition: 0.3s;
    }

    @media (max-width: 980px), (max-height: 580px) {
      .game {
        margin: auto;
        height: 52vh;
        flex-direction: column;
        overflow: auto;
        align-items: flex-start;
      }
    }

    .intro {
      background-color: #fff;
      flex-basis: 30%;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      z-index: 1;
      position: relative;
      transition: 0.3s;
    }

    .intro-inner {
      opacity: 1;
      transform: translateY(0);
    }

    .intro-inner p {
      margin-bottom: 20px;
      color: #3e465b;
    }

    .intro-button {
      background-color: #1fbed2;
      color: #fff;
      border: none;
      padding: 16px 32px;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
    }

    .intro-button:hover {
      background-color: #0b94a2;
    }

    .indicator {
      position: absolute;
      bottom: 40px;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      z-index: 2;
      transition: 0.3s;
    }

    .indicator-item {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.2);
      margin: 0 5px;
      transition: 0.3s;
    }

    .game[data-game-started="true"] .indicator {
      opacity: 0;
    }

    .game[data-game-finished="true"] .indicator-item {
      background-color: #fff;
    }

    .result {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .result-item {
      display: flex;
      align-items: center;
    }

    .result-count {
      font-size: 24px;
      margin-right: 8px;
      font-weight: bold;
    }

    .result-text {
      font-size: 16px;
    }

    svg {
      margin-right: 4px;
    }

    .game-area {
      flex-basis: 70%;
      background-color: #fff;
      overflow-y: auto;
      padding: 40px;
      position: relative;
      transition: 0.3s;
    }

    .game-area::-webkit-scrollbar {
      width: 6px;
    }

    .game-area::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.3);
      border-radius: 3px;
    }

    .game-area::-webkit-scrollbar-track {
      background-color: rgba(0, 0, 0, 0.1);
    }

    .question {
      opacity: 1;
      transform: translateY(0);
      transition: 0.3s;
    }

    .question-inner {
      margin-bottom: 30px;
    }

    .question-text {
      color: #3e465b;
      margin-bottom: 10px;
    }

    .question-answers li {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
    }

    .question-answer {
      color: #3e465b;
      margin-left: 8px;
    }

    .question-button {
      background-color: #1fbed2;
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
    }

    .question-button:hover {
      background-color: #0b94a2;
    }

    .is-true {
      color: green;
    }

    .is-wrong {
      color: red;
    }

    .is-empty {
      color: #3e465b;
    }

    .correction {
      opacity: 1;
      transform: translateY(0);
      transition: 0.3s;
    }

    .correction .question:not(:last-child) {
      margin-bottom: 30px;
    }

    .correction .question-inner {
      margin-bottom: 20px;
    }

    .correction .question-text {
      color: #3e465b;
      margin-bottom: 10px;
    }

    .correction .question-answer {
      color: #3e465b;
      margin-left: 8px;
    }

    .restart-button {
      background-color: #3e465b;
      color: #fff;
      border: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: 0.3s;
    }

    .restart-button:hover {
      background-color: #2c3142;
    }
  </style>
</head>
<body>
  <div id="app"></div>

  <script type="module">
    // React code and dependencies here
  </script>
</body>
</html>
çok teşekkür ederim