Skip to content

London | 26-ITP-SEP | Shirin Panahian | sprint 3 | sprint 3 Acoursework - #1596

Open
shirinpanahian wants to merge 11 commits into
CodeYourFuture:mainfrom
shirinpanahian:acoursework/sprint-3
Open

shirinpanahian wants to merge 11 commits into
CodeYourFuture:mainfrom
shirinpanahian:acoursework/sprint-3

Conversation

@shirinpanahian

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

Task code

CYF-1053

Changelist

I complete course work sprint 3

@netlify

netlify Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 31e4589
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6ab6ee39bd664c00080585ba
😎 Deploy Preview https://deploy-preview-1596--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 89 (🔴 down 11 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@shirinpanahian shirinpanahian added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 25, 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 Sep 25, 2026
@github-actions

This comment has been minimized.

@shirinpanahian shirinpanahian added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Sep 25, 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 Sep 25, 2026
@shirinpanahian shirinpanahian added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. 📅 Sprint 3 Assigned during Sprint 3 of this module labels Sep 25, 2026

@abdishakoor-dev abdishakoor-dev 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.

Your prediction in 1-key-errors/1.js finds both problems: the repeated name and the scope. Prettier passes on every file too.

Four things before I can mark this Complete:

  1. 2-cases.js: see my comment on line 18.
  2. 3-to-pounds.js: see my comment on line 7.
  3. 2-mandatory-debug/2.js: see my comment on line 28.
  4. The PR title says 25-ITP-SEP. Your cohort is 26-ITP-Sep. Please edit the title.

Add the Needs Review label again once you've pushed.

// Use the MDN string documentation to help you find a solution
// This might help https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase
function toUpperSnakeCase(text) {
const newText = text.replace(" ", "_");

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.

Try toUpperSnakeCase("lord of the rings"). What does it return? The exercise expects "LORD_OF_THE_RINGS". How many spaces does replace change? The MDN page for replace will help.

// You will need to declare a function called toPounds with an appropriately named parameter.

// You should call this function a number of times to check it works for different inputs
function toPound(penceString) {

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.

Line 4 asks for a function called toPounds. What is your function called?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

yes, my function name was toPound, It should be toPounds.


// Finally, correct the code to fix the problem
// =============> write your new code here
let num = 103;

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 num on line 28 used now? Your function uses its own num parameter. If line 28 is not needed, remove it.

@abdishakoor-dev abdishakoor-dev 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 28, 2026
@shirinpanahian shirinpanahian changed the title London | 25-ITP-SEP | Shirin Panahian | sprint 3 | sprint 3 Acoursework London | 26-ITP-SEP | Shirin Panahian | sprint 3 | sprint 3 Acoursework Sep 28, 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. 📅 Sprint 3 Assigned during Sprint 3 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants