Repository navigation
Conversation
LONDON | 26-ITP-May | Eyob Zeray | Sprint 2 | Level 200 Project TV Show
LONDON | 26-ITP-May | Eyob Zeray | Sprint 2 | Level 200 Search - Project TV Show
LONDON | 26-ITP-May | Eyob Zeray | Sprint 2 | Level 200 Selector - Project TV Show
London | 26-ITP-May | Eyob Zeray | Sprint 4 | Project TV Show
LONDON | ITP-May-26 | Bisrat Tesfay | Project TV Show | Level 500
LONDON | ITP-May-26 | Bisrat Tesfay | Project TV Show | Add show selector
LonMcGregor
left a comment
There was a problem hiding this comment.
- Generally well written code
- Most features implemented
- Appropriate use of caching
Good work on this, I have a few suggestions you could work on if you want a bit more practice now ITP is over.
| <body> | ||
| <div id="root"> | ||
| </div> | ||
| <section id="shows-page"> |
There was a problem hiding this comment.
Did you try running the lighthouse tool to see if it offers any suggestions on semantic and accessible HTML?
|
|
||
| const image = document.createElement("img"); | ||
| image.src = show.image ? show.image.medium : ""; | ||
| image.alt = show.name; |
There was a problem hiding this comment.
Is this an appropriate use of an alt tag? See if https://axesslab.com/alt-texts/ has any suggestions
| }); | ||
| } | ||
|
|
||
| function setupShowSearch() { |
There was a problem hiding this comment.
One of the criteria is to count how many shows are visible when searching, did you implement this?
| }); | ||
| } | ||
|
|
||
| function finishLoadingShow() { |
There was a problem hiding this comment.
Passing information through global variables like this works, but it doesn't make for very testable or reusable functions. What do you think of the approach you chose here?
Learners, PR Template
Self checklist
Changelist
Level 500 is done.
Questions