Tabs with Htmx & Hyperscript - Building a web app with Django - Part 16

preview_player
Показать описание
In this video we will add tabs to the page using htmx and hyperscript.
Key concepts: django-htmx, annotate, distinct, __gt, __isnull

This is part of a tutorial series where we build a web app from scratch and go live on the internet. Enjoy.

0:00 Intro
0:30 Tabs with Htmx
8:59 Tab Highlight
10:28 Tab Logic
14:53 Annotate

Follow me on:

Support me on:
Thank you.

#django #htmx #hyperscript #annotate #selftaughtdeveloper #webdevelopment #webapp #python #stayathomedad
Рекомендации по теме
Комментарии
Автор

thanks. I thought I was not able to follow trying to figure out last night. I was about to ask also then I saw this alert. thanks much!

FamilyTravelogue
Автор

many thx Bro, like always excellent stuff

Armin-qp
Автор

Thank you very much for the great videos.
Just for fun I tried another way to get the top comments:

comments =

This will count the total number of likes and replies to a comment, so comments with replies will also show up in the top comments

muellexx
Автор

I love learning this, but wouldn't it be better, if the files were already loaded, not to just sort the comments with hyperscript?

enkiimuto