add code to examples page; add some showErrors examples