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

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

Abierto
#3,160 1 comentario 0 reacciones 1 asignado Ver en GitHub

@Bezart ya está trabajando en esto.

Desde el 27/8/2022.

Lenguaje dominante
HTML
Estrellas
25.5k
Forks
4k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I was reading [script-async-defer](https://javascript.info/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:
`Scripts: async, defer`

And maybe another one at the bottom of the content:
`Back to top of page`

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.