Everything You Ever Wanted to Know About inputmode
Everything You Ever Wanted to Know About inputmode

Share this: The inputmode global attribute provides a hint to browsers for devices with onscreen keyboards to help them decide which keyboard to display when a user has selected any input or textarea element. <input type="text" inputmode="" /> <textarea inputmode="" /> Unlike changing the type of the form, inputmode doesn’t change the way the browser... » read more

Could Grouping HTML Classes Make Them More Readable?
Could Grouping HTML Classes Make Them More Readable?

Share this: You can have multiple classes on an HTML element: <div class="module p-2"></div> Nothing incorrect or invalid there at all. It has two classes. In CSS, both of these will apply: .module { } .p-2 { } const div = document.querySelector("div"); console.log(div.classList.contains("module")); // true console.log(div.classList.contains("p-3")); // false But what about grouping them? All we... » read more

All About mailto: Links
All About mailto: Links

Share this: You can make a garden variety anchor link (<a>) open up a new email. Let’s take a little journey into this feature. It’s pretty easy to use, but as with anything web, there are lots of things to consider. The basic functionality <a href="mailto:[email protected]">Email Us</a> It works! But we immediately run into a... » read more