previous

page 25

next
Here's my list:

- the columns are not scored;
- the picked counter is not displayed;
- only empty cells should be clickable;
- the total score is not displayed;
- a picked counter remains at the end;
- the scores font size doesn't change as the browser window changes;
- the overall layout needs work.

the columns are not scored
We're going to need an extra row which contains the column scores.
Check this picture out.
I plan to create a new function, row5() to produce this extra row.
So create a new file row5.js and see how far you can get.

function row5() {
for (var i=5; i<10; i++) {
var s1="<div id='s";
var s2="'>0</div>";
document.write(s1 + i + s2);
}
}

Use this new function in your index.html and see how you go.

previous
next