Use Javascript to aggregate the article count / tag across the posts in our blog.

Поделиться
HTML-код
  • Опубликовано: 27 июн 2024
  • In this video, we bring in a little more javascript to help us count how many articles are tagged with a particular Topic, so that people can more easily see if there's more information to be had.
    Then, we added those counts to each tag, and styled the count as a "badge" using CSS.
    -- We are building: www.thatdeveloperdad.com
    -- We are using: astro.build
    -- Watch live at / thatdeveloperdad
  • НаукаНаука

Комментарии •