javascript-tutorial / javascript-tutorial/en.javascript.info

First Paragraph Has an issue

未關閉
#3,488 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

I would consider revising the first paragraph.

Mainly this part:

> 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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

找到包含所引用第一段的教學文章,並閱讀其周圍關於 event bubbling 的說明。修改該段,直接解釋巢狀元素,不使用受到質疑的措辭,然後檢查文章是否仍然準確且易讀。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
documentation
Issue 類型
文件
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。