Skip to content

LONDON | ITP-Sep-26 | Mahdi Rafiei | Sprint 4 | Project TV Show - #109

Open
mrafeie wants to merge 5 commits into
CodeYourFuture:mainfrom
mrafeie:main
Open

mrafeie wants to merge 5 commits into
CodeYourFuture:mainfrom
mrafeie:main

Conversation

@mrafeie

@mrafeie mrafeie commented Sep 17, 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

Task code

CYF-1115

Changelist

All tasks done until level 500.
https://mrafeie.github.io/Project-TV-Show/

Questions

@mrafeie mrafeie added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 17, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Sep 23, 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.

  • Functionality is mostly present
  • Appropriate caching is used

I've left a few comments if you want to work on improvements.

Comment thread script.js
episodesView.hidden = true;
rootElem.appendChild(episodesView);

const footer = document.createElement("footer");

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.

Given this code never changes, does it need to be done in js, or could it have been done in the HTML?

Comment thread index.html
</head>

<body>
<div id="root">

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 try running the lighthouse tool to see if it offers any suggestions for improving the semantics and accessibility of the HTML?

Comment thread script.js
if (episode.image && episode.image.medium) {
const image = document.createElement("img");
image.src = episode.image.medium;
image.alt = episode.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 if https://axesslab.com/alt-texts/ has any suggestions

Comment thread script.js
renderEpisodes(term === "" ? allEpisodes : filtered);
}

function handleSelect(event) {

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 implement a show selector menu as well?

Comment thread style.css
white-space: nowrap;
}

#episodes-container {

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.

Some of the grids in certain episode views don't fully line up if the descriptions are different lengths, can this be fixed or is it intentional?

@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 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants