The HTML5 Contenteditable Attribute

Did you know that we’re able to create client-side, in-browser content editing using basic HTML elements? We could then save that edited content to the browser’s local storage. The key to making this happen is with the HTML5 contenteditable attribute. To see how contenteditable works, …Continue reading

How to Remember the Code You’re Learning

One of the most common questions I get from students is: “What’s the best way to retain what I’m learning?” @guilh I started treehouse and have been going through various HTML & CSS tracks but struggle putting it into practice? …Continue reading

Using localForage for Offline Data Storage

(Photo by Erich Ferdinand/Flickr) An important step on the path toward robust, offline web applications is the ability to store data in the user’s browser. Technologies like IndexedDB and localStorage have provided this functionality to web developers, but they are not …Continue reading

Creating Autocomplete Dropdowns with the Datalist Element

The <datalist> element, a new addition in the HTML5 specification, allows developers to create native autocomplete dropdowns for their web applications. This type of user interface component is commonly used on form fields and search boxes as it helps the …Continue reading