Conversation
|
test please |
|
ok to test |
|
test this please |
2 similar comments
|
test this please |
|
test this please |
|
don't test |
|
test this please |
3 similar comments
|
test this please |
|
test this please |
|
test this please |
|
Your comment goes here. |
|
|
||
| function randomNumber (l) { | ||
| return Math.floor(Math.random() * l); | ||
| let y = Math.floor(Math.random() * l); |
There was a problem hiding this comment.
Change the Y variable to a constant
|
|
||
| function randomNumber (l) { | ||
| return Math.floor(Math.random() * l); | ||
| let y = Math.floor(Math.random() * l); |
There was a problem hiding this comment.
Change the Y variable to a constant
| return words[number]; | ||
| } | ||
|
|
||
| function randomWord222 () { |
There was a problem hiding this comment.
Change the Y variable to a constant
|
|
||
| function randomWord222 () { | ||
| const number = randomNumber(words.length); | ||
| return words[number]; |
There was a problem hiding this comment.
Your comment in the file goes here.-- Sarra
|
test PR body comment. |
| } | ||
|
|
||
| //month span | ||
| elem = document.createElement("span"); |
There was a problem hiding this comment.
Your comment in the file goes here 2.-- Sarra
| function randomWord222 () { | ||
| const number = randomNumber(words.length); | ||
| return words[number]; | ||
| } |
| div.appendChild(elem); | ||
| } | ||
|
|
||
| //month span |
|
|
||
| function randomNumber (l) { | ||
| return Math.floor(Math.random() * l); | ||
| let y = Math.floor(Math.random() * l); |
There was a problem hiding this comment.
test PR inline comment. --MKZ
|
|
||
| let z = Math.floor(Math.random() * y); | ||
| return y; | ||
| } |
There was a problem hiding this comment.
test PR inline comment. --MKZ
|
Reda Please check this |
|
File:05 - Random Password Generator/main.js @@ -40,10 +40,18 @@ const words = ['seat', 'pen', 'broad', 'vapor', 'ocean', function randomNumber (l) {
function randomWord () {
####### |
| div.appendChild(elem); | ||
| } | ||
|
|
||
| //month span |
|
File:05 - Random Password Generator/main.js |
1 similar comment
|
File:05 - Random Password Generator/main.js |
| div.appendChild(elem); | ||
| } | ||
|
|
||
| //month span |
There was a problem hiding this comment.
File:05 - Random Password Generator/main.js
@@ -40,10 +40,18 @@ const words = ['seat', 'pen', 'broad', 'vapor', 'ocean',
function randomNumber (l) {
- return Math.floor(Math.random() * l);
- let y = Math.floor(Math.random() * l);
- let z = Math.floor(Math.random() * y);
- return y;
}
function randomWord () {
const number = randomNumber(words.length);
return words[number];
}
+
+function randomWord222 () {
- const number = randomNumber(words.length);
- return words[number];
+}
#######
Comment:
#######
I think this should be randomWord222
#######
File:06 - Calendar/dycalendar.js
| return y; | ||
| } | ||
|
|
||
| function randomWord () { |
There was a problem hiding this comment.
Unnecessary whitespace change
| @@ -40,10 +40,18 @@ const words = ['seat', 'pen', 'broad', 'vapor', 'ocean', | |||
|
|
|||
|
|
|||
There was a problem hiding this comment.
Unnecessary whitespace change
| @@ -148,19 +148,6 @@ | |||
| div.setAttribute("class", "dycalendar-header"); | |||
| div.setAttribute("data-option", JSON.stringify(option)); | |||
There was a problem hiding this comment.
Please remove this extra line.
|
File:05 - Random Password Generator/main.js |
|
|
||
| function randomNumber (l) { | ||
| return Math.floor(Math.random() * l); | ||
| let y = Math.floor(Math.random() * l); |
There was a problem hiding this comment.
Unnecessary whitespace change
| div.appendChild(elem); | ||
| } | ||
|
|
||
| //month span |
There was a problem hiding this comment.
Please remove this extra line.
No description provided.