HTMX + Flask: Modern Python Web Apps, Hold the JavaScript Transcripts
Chapter: Feature 1: Click-to-edit
Lecture: Our first feature: Click to edit
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In this chapter, we're going to add the first of three features that we're going to add using htmx, "Click to Edit".
0:09
In our sample application, we saw we had different categories of videos and in each category there was a bunch of videos. Over here,
0:16
we would like to go and add the ability to seamlessly and subtly turn our categories
0:23
into editable categories, something small and out of the way until we interact with it,
0:28
will expand into some form that will allow us to enter YouTube video information that will
0:34
then be saved back into that category and saved into the database. So we're going to leverage htmx's
0:41
click to edit feature as well as a few other cool tricks to put a little polish on that. Let's get to it.