CHAPTER 6
Code Explanation
}
else {^
document.f.out
.value = "WRONG";
elementinmotion.
style.backgroundColor = "white";
}
}^
else {
makingmove = true;^
elementinmotion = this;
elementinmotion.style.
backgroundColor = "tan";
Set first block color to tan
}
}
^
G20 Countries and capitals
^
Click on country or capital and then
click on corresponding capital or country.
^
Reload for new game.