Line 345: | Line 345: | ||
for (i=0; i<charArray.length; i++) { | for (i=0; i<charArray.length; i++) { | ||
var p = document.createElement('P'); | var p = document.createElement('P'); | ||
+ | p.className += "newP"; | ||
var div = document.createElement('div'); | var div = document.createElement('div'); | ||
div.className += " block"; | div.className += " block"; | ||
Line 364: | Line 365: | ||
if (currentInput === currentKeyCode.toUpperCase()) { | if (currentInput === currentKeyCode.toUpperCase()) { | ||
− | var pElements = document.querySelectorAll(' | + | var pElements = document.querySelectorAll('.newP'); |
pElements[counter].className += "typed"; | pElements[counter].className += "typed"; | ||
$('.block').first().remove(); | $('.block').first().remove(); |
Revision as of 23:17, 17 October 2018
BIOTYPER
Type each sentence fast and accurately to reveal an image from the Cell Image Library.
POINTS: 0
TIMER: 60
REFERENCE:
TOTAL POINTS:
Go to http://cellimagelibrary.org/home to view more cool biology images.