#reader(lib "htdp-beginner-reader.ss" "lang")((modname simple-button) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f ())))
(require (lib "moby.ss" "moby" "stub"))
(define (on-press w)
(add1 w))
(define (ring w)
(make-effect:beep))
(define (draw w)
(local [(define a-button (js-button* on-press ring
(list (list "id" "aButton"))))
(define a-para (js-p (list (list "id" "aPara"))))
(define a-button-text (js-text (number->string w) (list (list "id" "aText"))))]
(list a-button (list a-para (list a-button-text)))))
(define (draw-css w)
(list (list "aButton"
(list "background-color" "lightblue"))
(list "aPara"
(list "font-size" "30pt"))))
(js-big-bang 0
'()
(on-draw draw draw-css))