Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

[TECH ED] Build reading list display #49

@Dedekind561

Description

@Dedekind561

Link to the coursework

Look up the reading-list app in the week-3 directory.

Why are we doing this?

These challenges are designed to develop your problem-solving skills.
Check out the file contents in the reading-list directory to familiarise yourself with the starting code.

Acceptance criteria

Here are some checklist-style acceptance criteria for the reading list problem:

  • A <ul> element is created to contain the list of books

For each book object in the books array:

  • A <li> element is created
  • The book title is displayed in a <p> element
  • The book author is displayed in a <p> element
  • An <img> element is added with the source set to the book's cover image URL
  • The <ul> containing the book list is added to the DOM inside the element with id "content"
  • Books that have already been read have a green background
  • Books that have not yet been read have a red background
  • The completed list matches the provided design example
  • No errors occur when iterating through the books array
  • The page is visually appealing

The goal is to break down the problem into specific, testable elements that can easily be checked off to verify the acceptance criteria are met.

Maximum time in hours

3

How to get help

Share your blockers in your class channel
https://curriculum.codeyourfuture.io/guides/asking-questions

How to submit

  1. Fork to your Github account.
  2. Make a branch for this project.
  3. Make regular small commits in this branch with clear messages.
  4. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.
gitGraph
    commit id: "start"
    branch feature/reading-list
    commit id: "skeleton page code"
    commit id: "Fonts and colours"
    commit id: "mobile layout"
    commit id: "lighthouse audit revisions mobile"
    commit id: "desktop layout"
    commit id: "lighthouse audit revisions desktop"
    checkout main
    merge feature/reading-list
Loading

There are several projects in this repo. Make a new branch for each project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📋 Backlog

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions