Skip to content

Commit 462dfb3

Browse files
Add stylistic and grammar fixes
I fixed some of the awkward phrasing: • `concrete` is more common in the literary style of writing and is used to denote something opposite of abstract, so placing it here when describing a relation between html elements seems unnecessarily cumbersome. Plus there's some tautology in using `concrete` together with `actually`. I propose something simpler. • `It’s possible that event.target equals this` -- the present indefinite tense is not quite correctly used here, because this sentence describes something that only happens conditionally and is not always true. There are many ways to rewrite this sentence, and I propose one that aims to keep the original structure of the idea.
1 parent be342e5 commit 462dfb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2-ui/2-events/02-bubbling-and-capturing/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ For instance, if we have a single handler `form.onclick`, then it can "catch" al
6969
In `form.onclick` handler:
7070

7171
- `this` (`=event.currentTarget`) is the `<form>` element, because the handler runs on it.
72-
- `event.target` is the concrete element inside the form that actually was clicked.
72+
- `event.target` is the actual element inside the form that was clicked.
7373

7474
Check it out:
7575

7676
[codetabs height=220 src="bubble-target"]
7777

78-
It's possible that `event.target` equals `this` -- when the click is made directly on the `<form>` element.
78+
It's possible that `event.target` could equal `this` -- it happens when the click is made directly on the `<form>` element.
7979

8080
## Stopping bubbling
8181

0 commit comments

Comments
 (0)