Build a Static Site with Figma & Astro #8 - Infinite Slider

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

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

  • @godfredboateng3749
    @godfredboateng3749 2 года назад +2

    Hi Shaun , when is your advanced node Js crash course coming as you promised in the first crash course ?😇

  • @isnanka.online3302
    @isnanka.online3302 Год назад

    Hi, why don't you use styles inside the component and don't use js for the slider in the reviews component?

  • @tea42
    @tea42 3 месяца назад

    Nice tutorial. Is legitimate syntax in astro in 2024? ${review?.active && 'active'} part shows up as is.

    • @tea42
      @tea42 3 месяца назад

      OK I think i found a solution. class={`review-indicator ${review?.active && 'active'}`}

    • @LucyChaplin
      @LucyChaplin Месяц назад

      For reference for others in future, you can also use class:list={["review-indicator", review?.active && "active"]}