New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN: 9781305503922
Author: Patrick M. Carey
Publisher: Cengage Learning
bartleby

Concept explainers

Question
Book Icon
Chapter 11, Problem 7RA

(a)

Program Plan Intro

To create an object collection of all the td elements within the hitoriGrid table and save the object collection in the variable named allCells.

(b)

Program Plan Intro

To create the for loop that will iterate through the allCells object collection and make modifications as per the specified condition.

(c)

Program Plan Intro

To add a mousedown event that will change the background color, font color and the border radius value if the Shift key is pressed by the user.

(d)

Program Plan Intro

To change the cursor image if the Shift key is pressed by the user.

(e)

Program Plan Intro

To add an event listener that will run the method named checkSolution( ) in response to the mouseup event to check whether the user has solved the puzzle.

Blurred answer