Skip to content

Commit 39c4e86

Browse files
committed
fix grammar in pop-up instructions
1 parent 3e3fd4e commit 39c4e86

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

animation/02-pop-up/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
In this exercise we have set up a simple pop-up dialog for you. It already works! Load up index.html and give it a shot!
44

5-
You don't need to worry about the actual functionality here, we've just written a little javascript that adds and removes a `.show` class to the popup and the backdrop. Your task then is to make it _move_, as in the desired-outcome image below.
5+
You don't need to worry about the actual functionality here; we've just written a little javascript that adds and removes a `.show` class to the popup and the backdrop. Your task then is to make it _move_, as in the desired-outcome image below.
66

77
### Hints
88
- "modal" is another word for 'pop-up'
9-
- In the code we've provided, the popup is sitting in it's final position, so you'll need to change it's initial position, and then use a transition to move it back to the center.
9+
- In the code we've provided, the popup is sitting in its final position. You'll need to change its initial position and then use a transition to move it back to the center.
1010
- You might want to change the initial opacity from 0% to something like 20% while you're working on it, so you can easily see where it is coming from before you click the button.
1111
- Don't overthink this one... it might seem complicated, but it requires just a few lines of code.
1212

@@ -16,5 +16,5 @@ You don't need to worry about the actual functionality here, we've just written
1616

1717
### Self Check
1818

19-
- The pop-up slides down into position when you click the open button, and slides back up when you click 'close modal'
20-
- The opacity fades smoothly in and out when toggling the modal.
19+
- The pop-up slides down into position when you click the open button and slides back up when you click 'close modal'
20+
- The opacity fades smoothly in and out when toggling the modal

0 commit comments

Comments
 (0)