Detect mouse right-click with JavaScript
JavaScript API allows developers to detect mouse right-click. It can be useful if you want to handle specific cases when a user clicks certain buttons on the mouse.
Frontend Dev Blog
JavaScript API allows developers to detect mouse right-click. It can be useful if you want to handle specific cases when a user clicks certain buttons on the mouse.
A smooth scroll to anchor is a common concept for single-page applications. It features a sliding animation effect that helps the user to understand what’s currently is happening on the device screen. There are two ways you can implement it:
When learning about CSS media queries, sometimes it can be confusing what’s the difference between min-width
and max-width
properties.
When it comes to including CSS on a page, there are few ways to do that, each one with its own pros and cons.
When working on a website or a web app texts are often overlooked, that’s when issues like overflowing text occur. To solve that, you can use some solutions like truncating or ellipsizing a text (add three dots) or wrapping the text.