File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
2-ui/2-events/03-event-delegation Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Should work like this:
1818
1919[iframe src="solution" height=200 border=1]
2020
21- In this task we assume that all elements with `data-tooltip` have only text inside. No nested tags.
21+ In this task we assume that all elements with `data-tooltip` have only text inside. No nested tags (yet) .
2222
2323Details:
2424
@@ -33,4 +33,4 @@ Please use event delegation: set up two handlers on `document` to track all "ove
3333
3434After the behavior is implemented, even people unfamiliar with JavaScript can add annotated elements.
3535
36- P.S. To keep things natural and simple: only one tooltip may show up at a time.
36+ P.S. Only one tooltip may show up at a time.
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ The pattern has two parts:
182182
183183### Counter
184184
185- For instance, here the attribute `data-counter` adds a behavior: "increase on click" to buttons:
185+ For instance, here the attribute `data-counter` adds a behavior: "increase value on click" to buttons:
186186
187187```html run autorun height=60
188188Counter: <input type="button" value="1" data-counter>
You can’t perform that action at this time.
0 commit comments