Birmingham | ITP-May-26 | Gabriel Pawuoi | Sprint 4 | Project TV Show - #71
Open
KhotKeys wants to merge 14 commits into
Open
Birmingham | ITP-May-26 | Gabriel Pawuoi | Sprint 4 | Project TV Show#71KhotKeys wants to merge 14 commits into
KhotKeys wants to merge 14 commits into
Conversation
West-Midlands | ITP-May-26 | Maryam Janjua | Sprint 4 | Project TV Show
This was referenced Aug 21, 2026
LonMcGregor
reviewed
Sep 2, 2026
LonMcGregor
left a comment
Contributor
There was a problem hiding this comment.
- Makes good use of a URL cache
- The deployed site has all the required functionality
- Missing a semantic HTML layout
Good work on this. ITP is complete now, but if you want an extra challenge, feel free to respond to my comments.
| rootElem.textContent = `Got ${episodeList.length} episode(s)`; | ||
| rootElem.innerHTML = ""; | ||
|
|
||
| const status = document.createElement("p"); |
Contributor
There was a problem hiding this comment.
What is the benefit of creating all of these in js rather than declaring them in the HTML?
| searchInput.addEventListener("input", handleShowSearch); | ||
| showsView.appendChild(searchInput); | ||
|
|
||
| const showSelector = document.createElement("select"); |
Contributor
There was a problem hiding this comment.
Did you check if the lighthouse tool offers any advice for creating a select this way?
| if (show.image && show.image.medium) { | ||
| const img = document.createElement("img"); | ||
| img.src = show.image.medium; | ||
| img.alt = show.name; |
Contributor
There was a problem hiding this comment.
Is this an appropriate use of an alt tag? See what https://axesslab.com/alt-texts/ has to say
| card.appendChild(runtime); | ||
|
|
||
| const summary = document.createElement("div"); | ||
| summary.innerHTML = show.summary || ""; |
Contributor
There was a problem hiding this comment.
Compare this to how you handle the other details for shows - text vs HTML. which do you think is the better approach?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Learners, PR Template
Self checklist
Changelist
Built through levels 0-500. Static episode display, live search, episode
selector, replaced static data with fetch calls to the TVMaze API, added
a shows dropdown with cached fetching, and a shows listing home page with
show search, genres, status, rating, and runtime. Deployed to Netlify at
https://cyf-khotkeys-tv.netlify.app/
Partnered with Maryam Janjua (maryam-devio) for levels 200 and 400.