JavaScript 1, dag 7 – Fun with Events 101, a tad bit LocalStorage and some JSON

Vi gick igenom Document Object Model (DOM) createElement() remove() append() prepend() Events Event Bubbling LocalStorage Checking for support getItem() setItem() JSON JavaScript Object Notation JSON.stringify() JSON.parse() GitHub repository https://github.com/drblue/fed19-javascript-1/tree/lesson-7 Länkar LocalStorage HTML5 Web Storage https://www.w3schools.com/html/html5_webstorage.asp Window.localStorage https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage JSON JSON.stringify() https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify Läs mer…

JavaScript 1, dag 6 – Fun with Objects 102 and the Document Object Model (DOM)

Vi gick igenom Objects i mer detalj Properties (egenskaper) Methods (metoder) Document Object Model (DOM) Querying the DOM querySelector querySelectorAll Modifing content and attributes innerText innerHTML getAttribute setAttribute style className classList textContent Traversing the DOM children parentElement nextElementSibling previousElementSibling Event Läs mer…

JavaScript tutorials

Lite tutorials jag hittat men inte granskat i detalj. Video-tutorials Modern JavaScript Development Om ni vill köpa kursen efter de här första 6 gratis kapitlena kan ni använda följande länk för att få kursen för $9.99: https://www.thenetninja.co.uk/courses/modern-javascript-tutorial Learn JavaScript – Läs mer…