le = JSON.parse(event.target.dataset.example);
          document.querySelectorAll('.container > *').forEach((element) => {
            Object.entries(example).forEach((prop) => {
              if (prop[1] == 'today') {
                d = new Date();
                prop[1] = d.toISOString().slice(0, 10);
              }
              element.setAttribute(prop[0],prop[1]);
              button.classList.add('selected');
            });
          });
        });
      })
    </script>

  </body>
</html>
