This code represents a button used for the category section of our news reader website. We utilize it to filter article news retrieved from our API
SCRENSHOT OF THE CODE
and This code, on the other hand, is used to count the number of users clicking on that category button, then display that count on our admin dashboard.
SCREENSHOT OF THE CODE
Since it doesn’t work when I try to run them together in my news reader website code, is there a possible way to make them both function simultaneously, either by integrating them as one code or combining them into a single script?
I hope someone responds. BTW I’m a third-year student. Thanks in advance.
Dexter Austria is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1