Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleA99 committed Aug 24, 2023
1 parent a199ebb commit 6af5d12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const darkenColor = (color, intensity) => {
};

const promptButton = document.getElementById("prompt-button");

/**
* Prompts the user to specify the desired grid size and creates the grid accordingly.
*/
Expand All @@ -70,7 +69,6 @@ const promptGridSize = () => {
promptButton.addEventListener("click", promptGridSize);

const clearButton = document.getElementById("clear-button");

/**
* Clears the grid container by removing all child elements
*/
Expand All @@ -79,4 +77,4 @@ const clearGrid = () => {
gridContainer.removeChild(gridContainer.firstChild);
}
};
clearButton.addEventListener('click', clearGrid);
clearButton.addEventListener("click", clearGrid);

0 comments on commit 6af5d12

Please sign in to comment.