DEV Community

Cover image for How to add items to your cart with Tailwind CSS and JavaScript
Michael Andreuzza
Michael Andreuzza

Posted on • Edited on

How to add items to your cart with Tailwind CSS and JavaScript

Let's recreate the same cart example using JavaScript instead of Alpine.js.

Read the article, See it live and get the code

Top comments (2)

Collapse
 
herrynguyenvn profile image
Herry Nguyen ๐Ÿ‡ป๐Ÿ‡ณ

A bit difficult to read but totally quite easy to understand. Thank for your sharing. ๐Ÿค˜๐Ÿค˜๐Ÿค˜๐Ÿค˜๐Ÿค˜

Collapse
 
mike_andreuzza profile image
Michael Andreuzza • Edited

I know man, i have issues with liquid tags for two days when copy pasting the markdown from my site, and don't know why is giving me issues....

So i had to remove the backticks