- const DOLLS = 5
form.dolls
  - let d = 0
  while d < DOLLS
    input(id=`doll--${d}`, type='checkbox')
    - let labelValue = `Doll label ${d}`
    label(for=`doll--${d}`)= labelValue
    - d++
  input(type="reset", id="reset")
  label(for="reset") Reset
View Compiled
body
  align-items center
  background #fafafa
  display flex
  justify-content center
  min-height 100vh
  transform-style preserve-3d
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.