On your own: the favorites tab
Your task Write a FavoritesScreen: keep favorites in state (a list, starting empty). When it opens, load the key favorites and turn it into a list with JSON.parse. Show each name as ⭐ {name}, or No favorites yet. when the list is empty. A Clear button removes the key from the phone and empties the list. Then add it as a tab named Favorites with a ⭐ icon.
Getting the editor ready