<favorite-star> Web Component
A simple
element. Try clicking it!
Add the
active
attribute to toggle it:
The code is
here
.