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

Implement link in left hand navigation panel to top of page. Maybe?

オープン
#3,160 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@Bezart がすでに取り組んでいます。

2022年8月27日 から。

主要言語
HTML
スター
25.5k
フォーク
4k
PR マージ指標
30日以内にマージされた PR はありません

説明

I was reading script-async-defer, and I started to navigate backwards up the page using the navigation panel on the left. I have used the navigation panel before to go down the page, but I prefer to use the mouse wheel and keep my pointer in the middle of the screen.

However, this time I decided to scan the article in reverse and I noticed that it was useful for reinforcing what I had just read. However, I could not get back to the very top.

I notice that the only place that href="#" is used in the source code is in the code examples.

Maybe, a link at the top of the navigation panel to the top of the page would be useful. For example:
<a href="#">Scripts: async, defer</a>

And maybe another one at the bottom of the content:
<a href="#">Back to top of page</a>

I can find a use case for both buttons.

  • The link in the navigation panel would be used as described above.
  • I would use the Back to top of page link in this way, for example:
    1. I would scan the page relatively quickly using my mouse wheel, until I reached the bottom of the page.
    2. At the bottom, I would press Back to top of page and then read the whole page again more slowly.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。