checkbox appear when another checkbox is checked

PHOTO EMBED

Mon Jun 27 2022 09:35:21 GMT+0000 (UTC)

Saved by @virtual_vicky #css

#checkbox-2 {
  display: none;
}

#checkbox-1:checked ~ #checkbox-2 {
  display: block;
}
content_copyCOPY

https://stackoverflow.com/questions/56845290/html-css-how-have-a-checkbox-appear-when-another-checkbox-is-checked