Site icon MoreOnFew

MoreOnFew.com – Read tutorials related to JavaScript, jQuery, HTML5, CSS3 and more !


Our Latest Posts

  • How to check if checkbox is checked in jQuery?

    It is very easy to check if a checkbox is checked in jQuery using the .is() or .prop() method of jQuery combined with the ‘:checked’ selector. There are other ways too like checking for the attribute checked value, however, they aren’t very reliable. The easiest and most stable way to check if checkbox is checked … Read more

  • [Solved] Attempted import error: ‘Switch’ is not exported from ‘react-router-dom’

    You might be facing an “Attempted import error: ‘Switch’ is not exported from ‘react-router-dom’ ” error if you are using the react-router-dom package version 6. This error is caused due to using the older switch syntax of the react-router-dom. From version 6 onwards, the react-router-dom has replaced “Switch” with “Routes”. Let us take a look … Read more

  • How to check if an element is hidden in jQuery?

    Whether you are new to jQuery or not, you must have come across a situation where you had to check if an element is hidden in jQuery. While this might sound like an easy task, it can get tricky. Don’t worry, you can check if an element is hidden in jQuery using the simple ways … Read more

  • How to remove a specific item from an array in JavaScript?

    In JavaScript, the Array Object has been one of the most commonly used objects, and hence most of us would already have a good understanding of Array methods. However, there are times when we notice that there might not be a predefined method to achieve a certain task that might seem very common. One such … Read more

  • How to show ellipsis in CSS? Simple solution!

    We all would have come across scenarios where we wanted to show a certain part or section of a paragraph and then truncate the rest with an ellipsis ( … ) suffixed at the end. An ellipsis in CSS is generally used to show that there is more content, but it has been omitted. The … Read more

  • How to generate UUID in JavaScript? 2 Simple solutions!

    Many times we would have come across scenarios where we wanted to create a unique string in JavaScript that we could use as a unique ID. The obvious thought we would have is to try something with Math.random() or with a mix of Math.random and some Date or time-related object. However, there are many modern … Read more


Popular Tags

alignment API Array Array Methods attribute autocomplete BBCode BiscuitML Bootstrap CamelCase Conditional Statements Constructor CSS CSS3 CSS Framework custom fonts fonts How-to HTML HTML5 Icons Javascript jQuery Jquery API NodeJs npm Number Object Online Tools OOJS Optimization packagejs Padding Placeholder PNG Polyfills Private Function Private Variable pseudo class QR Code ReactJs Regular Expression String tutorial Webkit