<p class="title" id="red">Hello, World!</p>
#red .title {color: red; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}
Black
Red
Green
Orange
<p class="title" id="red">Hello, World!</p>
#red .title {color: red; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}
Black
Red
Green
Orange
<p class="title" id="red">Hello, World!</p>
#red.title {
color: red; font-size:12px; border: 1px solid green}
.title {color: green; font-size: 34px;}
p {color: black; font-size:20px; border: 1px solid orange;}
20px
34px
16px
None of the Above
Rearrange Jeff's diagnosis steps in the order you would have chosen and then decide as a team which steps you would have performed and in which order. (you CAN drop steps)
Effect wasn't showing up on screen Found a few missing semicolons, fixed them Refreshed page, still had errors Checked HTML, was clear of errors Checked Chrome Dev Console, saw 2 errors Fixed error in his initialization function (1st error) Refreshed page, had another error Fixed extra comma in a declaration (2nd error) Refreshed page, everything worked.What is the biggest optimization you could have performed?
Effect wasn't showing up on screen Found a few missing semicolons, fixed them Refreshed page, still had errors Checked HTML, was clear of errors Checked Chrome Dev Console, saw 2 errors Fixed error in his initialization function (1st error) Refreshed page, had another error Fixed extra comma in a declaration (2nd error) Refreshed page, everything worked.Among the team, choose the best CSS bug, and explain why you thought it was the best example of a css rule to be diagnosed through dev tools.
Among your team choose the best JS bug and explain why.
var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();
var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();
undefined
var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();
1-2
2-3
3-4
4-5
5-6
var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();
console.log(theName);
var theName = "sara";
var namer = function(theName) {
document.write(theName)
}
namer();
theName should be passed into the function
theName is not a global variable
document.write(theName) is missing a semi-colon
namer is not properly initialized as a function
Working with Empire Justice Center (EJC) to create a web-based foreclosure app.
Each team creates their own version.
Teams determine the criteria for critique.
In the end one team will emerge victorious, and be chosen by EJC to go live.
This is job experience, put this on your resume.
See me for details