Skip to content

London | 26-ITP-May | Rizqah Popoola | Sprint 3 | Programmer Humour - #561

Open
risikatpopoola wants to merge 1 commit into
CodeYourFuture:mainfrom
risikatpopoola:feature/programmer-humour
Open

London | 26-ITP-May | Rizqah Popoola | Sprint 3 | Programmer Humour#561
risikatpopoola wants to merge 1 commit into
CodeYourFuture:mainfrom
risikatpopoola:feature/programmer-humour

Conversation

@risikatpopoola

Copy link
Copy Markdown

Learners, PR Template

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

Fetched data from an API endpoint to render images

@risikatpopoola risikatpopoola added 🏕 Priority Mandatory This work is expected 📅 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 The name of the module. labels Aug 17, 2026
@webmonch webmonch added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Aug 21, 2026
comicImage.src = comicImages.img;
})
.catch((error) => {
console.log("Error fetching image:", error);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Will this also catch network errors like 404 or 500?

.then((comicImages) => {
console.log(comicImages);
const comicImage = document.getElementById("comic-image");
comicImage.src = comicImages.img;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Are there any additional properties from returned json we could use to make this image more accessible?

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

Labels

Module-Data-Flows The name of the module. 🏕 Priority Mandatory This work is expected 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