I have an array of tweet objects that I list on a page. I display all the hashtags from all the tweets in a separate HTML element. When a user clicks on a hashtag, I'd like it to filter my array of tweets to only display tweets with the clicked hashtag.
Here is one of the tweet objects in the array:
{
"created_at": "Mon Dec 06 14:13:27 0000 2021",
"id": 1467859736775344000,
"id_str": "1467859736775344128",
"text": "JUST IN – Professional soccer player receives world’s first #Bitcoin Lightning payroll payment