Skip to content

London | 26-ITP-May | Jorvan White | TV SHOW PROJECT | LEVEL 500 - #77

Open
JorvanW wants to merge 18 commits into
CodeYourFuture:mainfrom
JorvanW:level-500
Open

London | 26-ITP-May | Jorvan White | TV SHOW PROJECT | LEVEL 500#77
JorvanW wants to merge 18 commits into
CodeYourFuture:mainfrom
JorvanW:level-500

Conversation

@JorvanW

@JorvanW JorvanW commented Aug 17, 2026

Copy link
Copy Markdown

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

My level 500 PR following the requirement of the module

@JorvanW JorvanW added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label 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.

  • The JS code is well organised
  • The deployed site has all the functionality required
  • Good handling of state transitions

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">

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 index.html
<div id="shows-view">
<h1>TV Shows</h1>

<input

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 HTML that is more semantic in design that you could use?

Comment thread script.js
showBox.className = "show";

showBox.innerHTML = `
<img

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 definine HTML within JS like this?

Comment thread script.js
showBox.innerHTML = `
<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 script.js
</a>
</h2>

<p>${show.summary || "No summary available."}</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.

This isn't wrong, but can you think of any potential side effects of inserting the summary from the API directly into your HTML like this?

@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

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.

3 participants