Skip to content

London | 26-ITP-May | Khaliun Baatarkhuu | Sprint 3 | Project TV Show - #79

Open
khaliun-dev wants to merge 16 commits into
CodeYourFuture:mainfrom
khaliun-dev:main
Open

London | 26-ITP-May | Khaliun Baatarkhuu | Sprint 3 | Project TV Show#79
khaliun-dev wants to merge 16 commits into
CodeYourFuture:mainfrom
khaliun-dev:main

Conversation

@khaliun-dev

Copy link
Copy Markdown
  • 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

  • Shows listing with name, image, summary, genres, status, rating and runtime
  • Alphabetical show sorting
  • Show search by name, genres and summary
  • Clickable shows with episode display
  • Back to shows navigation
  • Episode search and selector preserved
  • Episode caching to prevent duplicate API requests
  • Loading and error handling

Tested

  • Show listing and search
  • Show → episodes navigation
  • Back navigation
  • Episode search and selector
  • Switching between shows
  • Episode caching
  • git diff --check

Questions

None.

@khaliun-dev khaliun-dev added 📅 Sprint 3 Assigned during Sprint 3 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Flows labels Aug 17, 2026
@khaliun-dev khaliun-dev changed the title London | 26-ITP-May | Khaliun Baatarkhuu | SPrint 3 | Project TV Show London | 26-ITP-May | Khaliun Baatarkhuu | Sprint 3 | Project TV Show Aug 17, 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.

  • Good use of caching
  • The deployed site has all the right functionality
  • The code is generally well laid out

Good work on this. ITP is complete now, but if you want an extra challenge, feel free to respond to my comments.

Comment thread index.html
placeholder="Search shows"
/>

<select id="show-selector"></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
showsList.innerHTML = "";

showList.forEach(function (show) {
const showBox = document.createElement("div");

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.

You generally made good use of semantic HTML, is there more specific semantic HTML you could use here instead of a div

Comment thread script.js

showBox.className = "show";

showBox.innerHTML = `

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 do you think are the benefits are of defining HTML within JS like this?

Comment thread script.js

<img
src="${show.image ? show.image.medium : ""}"
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 style.css

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 could be changed to make the style of episodes and shows match each other better?

Comment thread style.css

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 there any change you could make that makes it clearer that you can click on shows to have something happen?

Comment thread script.js
});
}

async function setup() {

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.

This setup function is quite large. What changes could help break it up while retaining readability?

@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. labels Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Module-Data-Flows Reviewed Volunteer to add when completing a review with trainee action still to take. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants