Skip to content

Birmingham | ITP-May-26 | Gabriel Pawuoi | Sprint 4 | Project TV Show - #71

Open
KhotKeys wants to merge 14 commits into
CodeYourFuture:mainfrom
KhotKeys:main
Open

Birmingham | ITP-May-26 | Gabriel Pawuoi | Sprint 4 | Project TV Show#71
KhotKeys wants to merge 14 commits into
CodeYourFuture:mainfrom
KhotKeys:main

Conversation

@KhotKeys

@KhotKeys KhotKeys commented Aug 16, 2026

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have committed my files one by one, on purpose, and for a reason
  • I have titled my PR with REGION | COHORT_NAME | FIRST_NAME LAST_NAME | SPRINT NUM | PROJECT NAME
  • I have tested my changes
  • My changes follow the style guide
  • My changes meet the requirements of this task

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.

@KhotKeys KhotKeys added 🏕 Priority Mandatory This work is expected 📅 Sprint 4 Assigned during Sprint 4 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 16, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Sep 2, 2026

@LonMcGregor LonMcGregor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 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.

Comment thread script.js
rootElem.textContent = `Got ${episodeList.length} episode(s)`;
rootElem.innerHTML = "";

const status = document.createElement("p");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the benefit of creating all of these in js rather than declaring them in the HTML?

Comment thread script.js
searchInput.addEventListener("input", handleShowSearch);
showsView.appendChild(searchInput);

const showSelector = document.createElement("select");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you check if the lighthouse tool offers any advice for creating a select this way?

Comment thread script.js
if (show.image && show.image.medium) {
const img = document.createElement("img");
img.src = show.image.medium;
img.alt = show.name;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an appropriate use of an alt tag? See what https://axesslab.com/alt-texts/ has to say

Comment thread script.js
card.appendChild(runtime);

const summary = document.createElement("div");
summary.innerHTML = show.summary || "";

@LonMcGregor LonMcGregor Sep 2, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compare this to how you handle the other details for shows - text vs HTML. which do you think is the better approach?

@LonMcGregor LonMcGregor added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏕 Priority Mandatory This work is expected Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 4 Assigned during Sprint 4 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants