Oct-28-2022, 08:39 PM
I'm writing a Flask grocery list app.
How would I get the text value of H5 tag? So I can delete or modify it?
Screenshot: Screenshot from Raspberry Pi
So I'm making each item in the list a H5 HTML tag, but let's say I want to access 'banana 2 set', how do I do that?
How would I get the text value of H5 tag? So I can delete or modify it?
Screenshot: Screenshot from Raspberry Pi
So I'm making each item in the list a H5 HTML tag, but let's say I want to access 'banana 2 set', how do I do that?
{% for item in items %} <h5 align="center"> {{ items[1] }} </h5> {% endfor %}