Skip to content Skip to sidebar Skip to footer

Flask Not Showing Variable In Html

So I have an HTML template that should display text within the HTML, but of course, it doesn't. My HTML is like so:

okay {{Iputithere}}

The flask is like so: I

Solution 1:

You have to do this:

<h2 >okay {{headline}}</h2 >

You are passing the value in the headline variable from render_template so instead of Iputithere, you have to use headline


Post a Comment for "Flask Not Showing Variable In Html"