ok, let’s say i have a variable called yourPets that is defined by a prompt.
var yourPets= prompt('What pet's do you have?');
let’s say the user types “I have a dog” into the prompt box. yourPets now equals “I have a dog.”
now let’s say i want to make it so when yourPets displays, instead of “I” i want “You” to appear.
so if an alert box came up with the value (yourName) it would display “You have a dog” instead of “I have a dog.”
does that make sense? i hope so. sorry for all the questions, this is my last i swear.