javascript-tutorial / javascript-tutorial/en.javascript.info
First Paragraph Has an issue
- Lingua principale
- HTML
- Stelle
- 25.5k
- Fork
- 4k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Individua l’articolo tutorial che contiene il primo paragrafo citato e leggi la spiegazione circostante sull’event bubbling. Rivedi il paragrafo per spiegare direttamente gli elementi annidati senza usare la formulazione messa in discussione, quindi verifica che l’articolo rimanga accurato e leggibile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100