contenteditable
.dataset
If you want to know more, the above items also link to explanations and tutorials.
localStorage
localStorage
JSON.stringify
JSON.stringify
JSON.parse
JSON.parse
:first-child
pseudo-selector:last-child
pseudo-selector[contenteditable=true]
)Each of the above items links to the w3schools page for that selector, including examples, reference material (including browser support) and a Try it Yourself live editor.
w3schools has a thorough reference of CSS selectors beyond those we’ve discussed (or will discuss) in class. Seriously, if you’re having any trouble with selectors, check out CSS Diner and CSS Selector Game.
Don’t forget your friend the Foundation Cheat Sheet.
If you’re new to jQuery, start with Try jQuery.
$()
, the jQuery functionBe sure to check out the excellent jQuery API documentation.
Presentations have been converted from their original format to play in web browsers.
Make MegaRoster even fancier!
localStorage
.)You’ll want to keep track of the student data—just the data, not the HTML elements—in an array.
Solution: MegaRoster with localStorage
edit
, up
, etc. links look like buttons using Foundation styles.Solution: MegaRoster HTML and CSS snippets
Solution: Included in MegaRoster with localStorage
Convert it to jQuery (ideally in a separate branch). The good news is that jQuery is already available in your project, thanks to Foundation.
Solution: MegaRoster with jQuery