DEV Community

Jyotishman Saikia
Jyotishman Saikia

Posted on

My Top 5 Tweets related to Frontend Development

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 - https://twitter.com/frontend_jsx
Instagram - https://www.instagram.com/frontend.jsx/

Top comments (4)

Collapse
 
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.

Collapse
 
jyotishman profile image
Jyotishman Saikia

totally agree lionel !.

Collapse
 
vaishnav profile image
vaishnav

Good stuff! I'll definitely try them out.

Collapse
 
jyotishman profile image
Jyotishman Saikia

Thanks vaishnav ! Glad you liked my content.