How do I go about spawning a specific image if a particular if/else statement is true?
I keep trying but the src just causes the image to stay on the page and not disappear when the if statement is false.
if (B == "k k"){
//I want my image to appear through this if statement
}else {
//and a separate image to appear if this "else" is true
}