Skip to content

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data Stretch Coursework#1188

Closed
Richiealx wants to merge 3 commits intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-3-stretch
Closed

Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data Stretch Coursework#1188
Richiealx wants to merge 3 commits intoCodeYourFuture:mainfrom
Richiealx:coursework/sprint-3-stretch

Conversation

@Richiealx
Copy link

@Richiealx Richiealx commented Mar 6, 2026

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

  • Implemented a credit card validator function (validateCreditCard) in card-validator.js.
  • The function checks for:
    • 16 digits, all numbers
    • At least 2 different digits
    • Even final digit
    • Sum of digits greater than 16
  • Added test logs in the file to confirm functionality.
  • All changes are confined to Sprint-3/4-stretch/ directory.

Questions

No questions for the reviewer at this time.

@Richiealx Richiealx added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 6, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 6, 2026
@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Richiealx Richiealx changed the title Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data-Stretch Coursework Sheffield | 26-ITP-jan | Richard Frimpong | Sprint 3 | Structuring and Testing Data Stretch Coursework Mar 6, 2026
@github-actions

This comment has been minimized.

@Richiealx Richiealx added NotCoursework Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Mar 6, 2026
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

The changed files in this PR don't match what is expected for this task.

Please check that you committed the right files for the task, and that there are no accidentally committed files from other sprints.

Please review the changed files tab at the top of the page, we are only expecting changes in this directory: ^Sprint-3/4-stretch/

If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).

If this PR needs reviewed, please add the 'Needs Review' label to this PR after you have resolved the issues listed above.

@github-actions github-actions bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Mar 6, 2026
@Richiealx Richiealx closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants