 }

  #slider label {
    background: #CCC;
    display: inline-block;
    cursor: pointer;
    width: 10px;
    height: 10px;
    border-radius: 5px;
  }

  #slider #slide1:checked ~ label[for="slide1"],
  #slider #slide2:checked ~ label[for="slide2"],
  #slider #slide3:checked ~ label[for="slide3"],
  #slider #slide4:checked ~ label[for="slide4"] {
    background: #333;
  }
  </style>

  <div id="slider">
    <my-slider data={ images }>
    </my-slider>
  </div>

  <script>
  this.images = [
    "https://