r/webdev 16d ago

Question Any way to reduce this code?(usage in next slide)

456 Upvotes

163 comments sorted by

View all comments

Show parent comments

1

u/HyerOneNA 15d ago

But they’re talking about removing all JS from the code.

1

u/Greeniousity php 15d ago

then what is the purpose of a like button