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

':hover' popup with links, and no mention of async/await

未關閉
#3,310 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
HTML
星號
25.5k
分支
4k
PR 合併指標
30 天內沒有已合併 PR

描述

  1. hovering over 'read this before commenting…' displays a popup with some useful links, but moving the cursor to the popup to attempt to follow a link causes the popup to disappear...making the links useless. Well, it is possible if you carefully move the cursor over the little 'triangle' part of the popup...
  2. the 'https://javascript.info/try-catch' discussion doesn't comment on its use with async/await, and it's a major use-case since it's the alternative of Promise's 'catch'. Also, this important_warn suggests try/catch isn't going to work with async/await, but that's isn't the case...
  3. 'name' on anchor elements is deprecated (in favour of 'id'), and the document could use some more 'id's on other parts, like the above 'important_warn'?

貢獻指南

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

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先定位「read this before commenting…」的滑鼠懸停彈出視窗,以及 https://javascript.info/try-catch 討論。檢查如何到達彈出視窗中的連結、如何描述 async/await,以及哪些 anchor 元素使用 name 而不是 id。完成的標準是彈出視窗中的連結仍然可用、async/await 的說明準確,且相關區段具有可用的 id。

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

評估

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

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

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