Grace O Donnell·Nov 7, 2017Ben has a very simple idea to make some profit: he buys something and sells it again.Create a function that accepts an array of numbers and return both the minimum and maximum numbers, in that order.
Grace O Donnell·Nov 4, 2017Another basic problems in Javascript dayProblem 1: Create a function that takes a number as an argument. Add up all the numbers from 1 to the number you passed to the function…
Grace O Donnell·Nov 1, 2017Dealing with EVENTS -excerpts from Jon Duckett’s Javascript and Jquery-.After the checkUsername {) function , an if statement checks whether addEventListener() is supported or not; it returns true if the element…
Grace O Donnell·Oct 30, 2017Excerpts from Jon Duckett’s Javascript and JqueryDOM manipulation can be used to remove elements from the DOM tree
Grace O Donnell·Oct 28, 2017duckettIf a DOM query runs when a page loads, the same query could return different elements if it is used again later in the page.
Grace O Donnell·Oct 27, 2017Built in objectsBrowsers come with a set of built-in objects that represent things like the browser window and the current web page shown in that window.
Grace O Donnell·Oct 25, 2017Ducket draft on the DOMWhen you access any element, attribute, or text node, you navigate to it via the document node. It is the starting point for all visits to…
Grace O Donnell·Oct 24, 2017DELIBERATING ON DECISIONS by DUCKETTWith a series of if statements, they are all checked even if a match has been found (so it performs more slowly than switch).
Grace O Donnell·Oct 23, 2017JAVASCRIPT = 6 DATA TYPESStill on the wonderful book by Duckett, Javascript and Jquery (basically think the next few weeks will be that)