In HTML, how do you add an interactive text box?
If you want it to appear on the screen (like an input box where users can type), you can use
If you want a pop up for the user, you can use
@timmy_i_chen ok thanks, and I tried to do a "else" command, but it would not work. Here is the code.
print ("Hello! This is a Fortnite game. You have to choose what to do in certain situations.")
print("Alright. Lets get started.")
var1= raw_input ("What is your name?")
print ("Ok. Hi "+ var1)
var2= raw_input ("Where will you land? Paradise Palms, Fatal Fields, Risky Reels, or Flush Factory? ")
print ("Ok. You landed at"+ var2)
ok= raw_input ("You found a blue tactical shotgun. The problem is, there is a Skull Trooper in front of you trying to get the same gun. Will you run away or go for the gun?")
if "ok"== "go for the gun":
print ("Your common sense overruled your choice. You ran away.")
print ("You ran away. Good choice.")