|
|
|
|
|
by ly
2144 days ago
|
|
I disagree with "responsiveness never". Imagine you have a "tabs" component on a page, each tab has some text (for example [1]). With javascript, you can hide the content of the first tab and show the second tab on click, almost instantly. Without javascript the second tab would be a link to another HTML page where the second tab is shown. Exact same behaviour for the user, however the one with a few lines of javascript will feel way more responsive than the one without, where the user has to wait for a new page to load. [1] https://getbootstrap.com/docs/4.0/components/navs/#javascrip... |
|
https://codepen.io/dhs/pen/diasg