Brooke Henderson

by Brooke Henderson

HTML

<h1>
Brooke Henderson
</h1>

https://jsfiddle.net/brooke8henderson/p7a7pe0d/67/

JavaScript

var firstName = "brooke";
var lastName = "henderson";

alert(firstName + " " + lastName);

var petName = prompt("type in your pet's name");

firstName = prompt("type in your new first name");

alert("your pets name is " + petName);

var famousPerson = "Green Lantern";

if (lastName == famousPerson) {
  alert(lastName + " is " + famousPerson);
} else {
	alert(lastName + " is not "+ famousPerson);}
  
  confirm("Is your name " +  famousPerson + "?");
  
var areYouFamous = confirm("Is your name " +  famousPerson + "?");
 
if(areYouFamous > 0) {
	alert("Wowwww that's so amazingggg");
} else {
	alert("Toooo baaad you're not " + famousPerson); }





// brooke = dog;

//henderson = cat;

// prompt("type in your pet's name");