- Let's finish the FizzBuzz
- How did you solve the take-home?
//HTML
< form class="" action="index.html" method="post" name="loginForm">
< input type="text" name="email" value="email">
< input type="text" name="password" value="password">
form>
//JS
let loginForm = document.forms.loginForm;
console.log(loginForm["password"]);
//console
< input type="text" name="password" value="password">
var obj = {
a: checkScope
}
function logThis() {
console.log( this );
}
var implicitBindingObject = {
answerToLife: 42,
logThis: logThis //notice that foo is called/referenced here, thus changing the calling context.
};
implicitBindingObject.logThis(); //Result will be the contents of the implicitBindingObject.
Today we begin the final project in earnest. As such, I won't be going over take homes anymore, they will all pertain directly to your final