Glasgow | 25-ITP-SEP | Mohammed Abdoon | Sprint 1 | Coursework/sprint-1#708
Closed
M-Abdoon wants to merge 26 commits intoCodeYourFuture:mainfrom
Closed
Glasgow | 25-ITP-SEP | Mohammed Abdoon | Sprint 1 | Coursework/sprint-1#708M-Abdoon wants to merge 26 commits intoCodeYourFuture:mainfrom
M-Abdoon wants to merge 26 commits intoCodeYourFuture:mainfrom
Conversation
…he filepath variable, the other is store the ext part of the variable
…d and how to get a random number
…can reassign the value
… the variable, then print it
LonMcGregor
reviewed
Sep 29, 2025
LonMcGregor
left a comment
There was a problem hiding this comment.
Great work on this sprint, there's just one file that I think you need to look at again
| num = Math.floor(Math.random() * (maximum - minimum) + 1); | ||
|
|
||
| //console.log(num); | ||
|
|
There was a problem hiding this comment.
The goal in this task is to offer an explanation of what this code is doing - can you add some comments breaking down what this code is doing bit by bit and then offer a general summary of what is happening?
Author
There was a problem hiding this comment.
Thank you.
Yes, I added an explanation of the code, why I made the small change and what the code is actually doing.
…ule-Structuring-and-Testing-Data into coursework/sprint-1
LonMcGregor
reviewed
Sep 30, 2025
LonMcGregor
left a comment
There was a problem hiding this comment.
Great work, it looks like you're done with this PR now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Learners, PR Template
Self checklist
Changelist
I have done the sprint and I answered the questions & corrected the errors.
I learnt about the console, the native functions and understood the basics of JavaScript.