Skip to content

London | ITP-May-26 | Dagim Daniel | Sprint 3 | Project TV Show - #94

Open
Dagim-Daniel wants to merge 6 commits into
CodeYourFuture:mainfrom
Dagim-Daniel:feature/level-500
Open

London | ITP-May-26 | Dagim Daniel | Sprint 3 | Project TV Show#94
Dagim-Daniel wants to merge 6 commits into
CodeYourFuture:mainfrom
Dagim-Daniel:feature/level-500

Conversation

@Dagim-Daniel

@Dagim-Daniel Dagim-Daniel commented Aug 20, 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

all Levels of TV project Has been done
NOTE: since i have NO partner to work with and been advised to work alone, i did this project solo.
Netlify link : https://tv-show-dagim-daniel.netlify.app/

@Dagim-Daniel Dagim-Daniel added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Flows and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. Module-Data-Flows labels Aug 20, 2026
@LonMcGregor LonMcGregor added the Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. label Sep 7, 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 semantic HTML and templates. The functionality is all present. Your code is well organised. Good use of caching. Good work completing this by yourself.

I have spotted a few minor things though, and some extra questions. if you want an extra challenge now the ITP is over, you can try to address them.

Comment thread index.html
</div>
<div id="error-message" class="status-message error-state" hidden></div>

<div id="shows-root" aria-label="TV Shows Listing"></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.

Is this the right way to use an aria-label? This value typically also requires an appropriate "role" to be set for it to be meaningful

Comment thread index.html
<footer id="bottomBar">
<span>Original Link: </span>
<a id="original-link" href="https://tvmaze.com/" target="_self"
>TVMaze.com</a

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 mean to break this over multiple lines? It isn't wrong, but it makes the code look a little difficult to read.

Comment thread script.js
imgElem.alt = show.name || "Show poster";
imgElem.addEventListener("click", () => loadEpisodesForShow(show.id));

cardNode.querySelector(".show-summary").innerHTML = show.summary || "";

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.

Do you think there are any potential side effects of setting the HTML this way?

Comment thread script.js

const imgElem = cardNode.querySelector(".show-image");
imgElem.src = show.image?.medium || "";
imgElem.alt = show.name || "Show poster";

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 the best way to use this alt tag? See what https://axesslab.com/alt-texts/ has to say

@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 7, 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.

2 participants