Skip to content

Glasgow | 26-ITP-Jan| Fattouma Ouannassi | Sprint 1 | coursework #957

Open
FAprogrammerO wants to merge 1 commit intoCodeYourFuture:mainfrom
FAprogrammerO:coursework/sprint-1
Open

Glasgow | 26-ITP-Jan| Fattouma Ouannassi | Sprint 1 | coursework #957
FAprogrammerO wants to merge 1 commit intoCodeYourFuture:mainfrom
FAprogrammerO:coursework/sprint-1

Conversation

@FAprogrammerO
Copy link

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

This project focuses on learning how to use JavaScript methods and working with the browser console

Questions

/

<!--

You must title your PR like this:

Region | Cohort | FirstName LastName | Sprint | Assignment Title

For example,

London | 25-ITP-May | Carol Owen | Sprint 1 | Alarm Clock

Fill in the template below - remove any sections that don't apply.

Complete the self checklist - replace each empty box in the checklist [ ] with a [x].

Add the label "Needs Review" and you will get review.

Respond to volunteer reviews until the volunteer marks it as "Complete".

Please note: if the PR template is not filled as described above, an automatic GitHub bot will give feedback in the "Conversation" tab of the pull request and not allow the "Needs Review" label to be added until it's fixed.

-->

## Learners, PR Template

Self checklist

- [x] I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
- [x] My changes meet the requirements of the task
- [x] I have tested my changes
- [x] My changes follow the [style guide](https://curriculum.codeyourfuture.io/guides/reviewing/style-guide/)

## Changelist

This project focuses on learning how to use JavaScript methods and working with the browser console

## Questions

/
@FAprogrammerO FAprogrammerO added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Feb 10, 2026
@Poonam-raj Poonam-raj 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 Feb 18, 2026

count = count + 1;

console.log(count);
Copy link
Contributor

Choose a reason for hiding this comment

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

How would you describe what's happening on Line 3?

Copy link
Author

Choose a reason for hiding this comment

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

Line 3 takes the current value of count, adds 1 to it, and stores the new value back in count.

Comment on lines +1 to +7
/* This is just an instruction for the first activity - but it is just for human consumption
We don't want the computer to run these 2 lines - how can we solve this problem?
//Answer
//to write comments in JavaScript
/* we use two forward slashes for single line , and Slash and Asterisk for Multi-line comment
we comment out the two lines above to prevent them from being executed.*/ No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Great job! You have used a multiline comment accurately! But do you need the double slash comment inside a multiline comment?

Copy link
Author

Choose a reason for hiding this comment

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

No, we do not need (double slashes) inside a multi-line comment. When we use /* to start and */ to end a multi-line comment, everything between them is already treated as a comment, so adding // inside it is unnecessary.

Copy link
Contributor

@Poonam-raj Poonam-raj left a comment

Choose a reason for hiding this comment

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

Great work so far - please see my comments and reply back to them - thanks!

@Poonam-raj Poonam-raj 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 Feb 18, 2026
@FAprogrammerO FAprogrammerO added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments