Shouldn’t it be animal="dog"? If ‘dog’ is the value you want to see printed after “I like the animal:”, this is what you need to do:
animal="dog"
return render_template('index.html', value=animal)
Shouldn’t it be animal="dog"? If ‘dog’ is the value you want to see printed after “I like the animal:”, this is what you need to do:
animal="dog"
return render_template('index.html', value=animal)