- index.html
 - style.css
 
HTML
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Toggle switches, step 1</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="material.css">
    <link rel="stylesheet" href="style.css">
  </head>
  <body class="green-theme">
    <section class="card">
      <h1 class="question"><span>What tags have never been included as part of HTML?</span></h1>
      <form class="answers" action="https://echo.htmlacademy.ru/courses" method="post">
        <button class="fab" type="submit"></button>
        <div>
          <!--
          <input type="checkbox" id="answer1">
          <label for="answer1"></label>
          -->
        </div>
        <div>
          <!--
          <input type="checkbox" id="answer2">
          <label for="answer2"></label>
          -->
        </div>
        <div>
          <!--
          <input type="checkbox" id="answer3">
          <label for="answer3"></label>
          -->
        </div>
      </form>
    </section>
  </body>
</html>
CSS
label {
  position: relative;
  display: inline-block;
  max-width: 100px;
  word-wrap: break-word;
  cursor: pointer;
}
label::before,
label::after {
  position: absolute;
  display: block;
  content: "";
}
input[type="checkbox"] {
}
You’ve gone to a different page
Goalscompleted
0
- Uncomment the checkboxes and their labels.
 - Add the text 
nextidto the first label, - add the text 
bgsoundto the second one, - and finally append the text 
holeto the third one. - Hide the checkboxes using 
display: none. 
Comments