Skip to content

London | May 2025 | Houssam Lahlah | Coursework/sprint 1 #657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

HoussamLh
Copy link

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 LASTNAME | PROJ_NAME

I have tested my changes (where applicable)

My changes follow the style guide

My changes meet the requirements of this task

Changelist

  1. key-exercise:
    Practiced variable reassignment with count = count + 1
    Extracted initials from full names using charAt(0)
    Parsed file paths using slice() and lastIndexOf()
    Explained how random numbers are generated with Math.random() and Math.floor()

  2. mandatory-errors: Identified common learning mistakes (e.g., using const when let is needed)

  3. mandatory-interpret: Interpreted JavaScript behaviors like console.log, prompt(), and variable hoisting

  4. stretch-explore: Explored the Chrome DevTools Console and JavaScript built-in methods like alert(), prompt(), and typeof

Questions

Hello,

I’ve completed all parts of the Sprint 1 and opened this pull request for review. Could you please take a look and let me know:

Are my explanations clear and technically correct, especially in the key-exercise and mandatory-interpret sections?

Do the solutions meet the expectations for this stage of the course?
Is there anything I could improve in the way I write comments or explain code logic?
Any feedback would be appreciated — thank you for your time!

Best regards,
Sami

HoussamLh and others added 20 commits June 19, 2025 07:48
Added comments to exclude instructional lines from execution
Updated age variable to let to allow incrementing its value.
Declare variable before using in template string.
Add comments explaining slice error and fix by converting number to string.
Fix invalid variable names by renaming to start with letters instead of numbers.
Add missing comma to replaceAll so the code runs smoothly.
Add detailed comments answering questions about movie length time calculation.
Add detailed comments explaining step-by-step price formatting from pence string.
@HoussamLh HoussamLh added the Needs Review Participant to add when requesting review label Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review Participant to add when requesting review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant