Skip to content

Commit 65a3a72

Browse files
committed
update CSS steps to reflect correct class names
1 parent 6b8c2a1 commit 65a3a72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/01 - JavaScript Drum Kit/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ We are provided with the HTML, CSS, and sound clips necessary to create this
2020
`div.key` and `audio` element in the provided HTML file has a `data-key` attribute
2121
which corresponds with a keyboard button.
2222

23-
- CSS `active` class & pre-defined style: The provided CSS file already has an `playing`
23+
- CSS `playing` class & pre-defined style: The provided CSS file already has an `playing`
2424
class defined with some styling in it. We will apply this class to the correct
2525
element, depending on the key pressed by the user, and remove it once animation
2626
is finished.
@@ -37,8 +37,8 @@ And that's...pretty much all we should need from the HTML & CSS files. We can us
3737
that name as the second argument for our event listener.
3838

3939
2. Create a function with the name that you decided on in step 1.
40-
- The function should accept one parameter, the _event_ which the function is going to handle.
41-
- The body of the function will declare and define two variables that will
40+
- The function should accept one parameter, the _event_ which the function is going to handle.
41+
- In the body of the function, declare and define two variables that will
4242
reference the _div and audio elements_ that correspond with the keypress which
4343
triggered the function (if such elements exist).
4444
- If the key pressed doesn't match one of the keys defined on our page we don't

0 commit comments

Comments
 (0)