You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Isn’t it a bit strange? Why does the handler on <div> run if the actual click was on <em>?
It comes across as infantilizing and momentarily derailed my reading on a topic I was actually wanting to read about. It works well if your target audience is four to six year-olds.
Simply saying something like "this is because they are nested" or similar would do the trick.
I will concede that I am likely not the target audience. I saw the term bubbling, was unfamiliar with it, googled, saw right away from this article that it was talking about propagating events. I will still finish reading the article, since JavaScript is not my forte, but that line was a bit unexpected in an article at this level.
I will also note that the comments, overall, look to be positive, so the article is well received.
The text was updated successfully, but these errors were encountered:
I would consider revising the first paragraph.
Mainly this part:
It comes across as infantilizing and momentarily derailed my reading on a topic I was actually wanting to read about. It works well if your target audience is four to six year-olds.
Simply saying something like "this is because they are nested" or similar would do the trick.
I will concede that I am likely not the target audience. I saw the term bubbling, was unfamiliar with it, googled, saw right away from this article that it was talking about propagating events. I will still finish reading the article, since JavaScript is not my forte, but that line was a bit unexpected in an article at this level.
I will also note that the comments, overall, look to be positive, so the article is well received.
The text was updated successfully, but these errors were encountered: