Welcome to lab. By now you have already watched the lecture videos on your own. Now we will apply the ideas from those videos in an exercise, which you will complete in small groups.
Within your breakout room, designate one of your team to be the screen sharer. Screen sharer, share your screen and claim your group’s task on Crowdsource. Make sure to enter every group member’s JMU eID so that they receive credit. Your group will be assigned a task number.
Team, complete the assigned task below. Screen sharer, be careful not to dominate. All members should contribute ideas.
Reverse engineer the following page, which generates a list of rhymes, using an internal stylesheet and an internal script:
Follow these guidelines in your solution:
styleassignment and an arithmetic expression. Do not use classes.
inputevent, schedule the rhymes to be pulled down after 1 second has elapsed. If another
inputhappens before the retrieval task fires, cancel the previously scheduled task and schedule a new one for the new word.
setTimeoutis useful for scheduling tasks to run in the future.
keydownevent, cancel any scheduled task and fire off an immediate retrieval of the rhymes.
Screen sharer, when your group is done or when time is up, submit your group’s solution on Crowdsource.