DEV Community


My Top 5 Tweets related to Frontend Development

Jyotishman Saikia
Technical Lead at Dotpe | Follow on twitter for more educational frontend tips @frontend_jsx
・1 min read

1/5 - Disable pull to refresh using CSS

2/5 - Hide HTML element natively

3/5 - CSS inset shorthand property for top/right/bottom/left

4/5 - Detect internet speed using Javascript

5/5 - Prevent user from pasting into input fields

I post very frequently on twitter related to frontend tips.
Support my content by following on
Twitter -
Instagram -

Discussion (4)

lionelrowe profile image
lionel-rowe • Edited

Amazed that I hadn't heard about inset before, nice tip!

I would strongly advise against disabling paste on input fields, including password ones. It just degrades user experience needlessly, especially for users of password managers (sometimes copy paste is still required if the auto-fill functionality fails or isn't available). Let users paste if they want to, and don't assume every user's interoperability or accessibility needs are the same.

jyotishman profile image
Jyotishman Saikia Author

totally agree lionel !.

vaishnav profile image

Good stuff! I'll definitely try them out.

jyotishman profile image
Jyotishman Saikia Author

Thanks vaishnav ! Glad you liked my content.