Section 14 Advanced DOM Manipulation + Problem Set

intro-events-code-a-long.html/intro-events-code-along.js color-toggle.html/color-toggle.js score-keeper.html/ score-keeper.js to-do.html/to-do.js color-game.html – color-games.js – color-game.css Blogging Questions when adding an event listener methods there are two arguments that are passed, the first is the event being listened for while the other argument is a function. These two rely on one another. The event being listened for, when activated such as […]

Week 6 + Problem Set

Tutorials selectors.html / selectors.js exercise.html / exercise.js demo.html / demo.js Problem Set Website Used  webpage-hack.HTML/webpage-hack.JS There is a difference between querySelector() and querySelectorAll(). When you pass in a value for example a “p” tag, both selectors function differently. querySelector will return the first instances of the “p” tag whereas querySelecterAll will return all instances of “p” tags.

JS Arrays + Problem Set.

Directory. todo-list-part1.html / todo-list-part1.js challenge.html / challenge.js todo-list-part2.html / todo-list-part2.js array-prob-set.html / array-prob-set.js foreach.html / foreach.js problem set.js files longest.js only_nums.js reverse.js range.js Blogging Question.pop() – The pop method takes out the last element of the arraypush() – The push method pushes a desired value into the array.Unshift() – This method adds new items to the beginning of an array, and returns the new length. […]

JS Basics Functions + Prblem set !!

Hey guys, You can find the directory for the js basic functions here. functions-examples.html / functions-examples.js functions-problem-set.html / functions-problem-sets.js scope-example.html / scope-example.js The problem set here random-color.html / random-color.js game.html / game.js falling-down-stairs.html / falling-down-stairs.js climbing-the-mountain.html / climbing-the-mountain.js declaring and calling a function are to different things when you declare a function you are basically creating a set of instructions that have “no real purpose”… when you call the […]

dev1 – JS Basics, Control Flow

DIRECTORY bouncer.html / bouncer.js age-exercise.html / age-exercise.js number-guess.html / number-guess.js while-loops.html / while-loops.js annoy-o-matic.html / annoy-o-matic.js for-loops.html / for-loops.js problem set directory feeling.html / feeling.js running.html / running.js weather.html / weather.js fizzbuzz.html / fizzbuzz.js guess.html / guess.js stairs.html / stairs.js mountain.html / mountain.js Problem Set: Falsy-ness is often used to check whether a given piece of data is a certain data type ( String or Int). in order to change a for loop into a while loop you need to have […]

WEEK 1

Tutorials Directory greeting.html and greeting.js stalker.html and stalker.js age-calculator.html and age-calculator.js Problem Set Directory desserts.html and desserts.js credits.html and credits.js quote.html and quote.js name.html and name.js Blogging Question: Linking a javascript file to an html file is fairly simple, much link a css file a Javascript file needs to be linked using a script tag. JavaScript from a file is complied an ran in the chrome browser, whereas when […]

css.php