here is my .js code:


alert("JavaScript works!");

// 5-8-13
// Brian Stacks
// SDI 1305
// Project 1
// My first dealings in JavaScript

// My variables
var appName = "Disearchable Ability.";
var goodAppColors = "Blue";
var badAppColors = "Red";
var numOfGoodAppColors = 1;
var appLayout1 = "\"List\" and \"Grid\" Style";
var appIsGood = true;

// My first outputs
console.log("My app's name is " + appName);
console.log("It is " + appIsGood + " that my apps main color is blue. ");
console.log("My app has " + numOfGoodAppColors + " color.");
console.log("My app has " + appLayout1 + " as it's layout options.")

if (appIsGood === true){
// this is the code block that runs if appIsGood is true.
if(numOfGoodAppColors <= 1){
//this runs if appIsGood is true and if numOfGoodAppColors <=1
appIsGood = (numOfGoodAppColors + 0);{
console.log("If the app has " + numOfGoodAppColors + " color then I need to finish it. ")}

}else {
if (numOfGoodAppColors >= 2){
// this is the code block that runs when numOfGoodAppColors is false}
console.log("If the app has " + numOfGoodAppColors > 1 + " color I need a new idea ");{
//this runs if appIsGood is true and if numOfGoodAppColors <=1
}
if (goodAppColors === "Blue"){
//this is the code block that runs if goodAppColors is true.
if (goodAppColors = "Blue"){
console.log("If the app is " + goodAppColors + " , it's a good app!")
}else{
if (badAppColors === true);{
//this is the code block that runs when goodAppColors is false
console.log("If the app is " + (badAppColors) + " , it's a bad app!")}

}


}if (appLayout1 === true){
//this is the code block that runs if appLayout1 is true
if (appLayout1 = "\"List\" and \"Grid\" Style"){
console.log("If the app has " + appLayout1 + " it's a good app ")}
}else{
if (appLayout1 != "\"List\" and \"Grid\" Style"){
console.log("If the app doesn't have " + appLayout1 +", back to the drawing board. ");}
}