Java Reference
In-Depth Information
styles.css (excerpt)
.right {
background: #0c0;
border: #090 2px solid;
color: #060;
}
.wrong {
background: #c00;
border: #900 2px solid;
color: #600;
}
Now we've finished adding the styles, have a go at playing the quiz by opening index.htm
in a browser. It should look similar to the screenshot shown in Figure 6.13 .
Figure 6.13. Quiz feedback via DOM updates
Search WWH ::




Custom Search