The goal of this task is to display Game of Thrones Characters and allow user to choose their favorites.
- TypeScript
- Vue 3 (Composition API)
- CSS
- Fetch characters from: https://thronesapi.com/api/v2/Characters.
- On the list, display all the characters NOT from House Lannister.
- Each list item should contain: Character name, photo and a star icon.
- If the character is a Lady or a Lord, place crown icon next to the character’s name.
- Hovering over the crown icon shall display a tooltip with the character’s full title.
- Implement favorite character functionality:
- Add a clickable star icon for each character in the Game of Thrones Characters list.
- When the user clicks on the star icon, the character becomes a favorite and appears in My Favorites list. Clicking on the star icon (filled) will remove the character from the My Favorites list.
- Each row in My Favorite list should look like the rows in Game of Thrones Characters, including the star icon and its behavior.
- At the top of the page, display one King and one Queen.
- Add input to filter My Favorite list.