Skip to content

add variables not used - #3

Open
WDRevAI wants to merge 2 commits into
masterfrom
change_reda_3
Open

WDRevAI wants to merge 2 commits into
masterfrom
change_reda_3

Conversation

@WDRevAI

@WDRevAI WDRevAI commented May 20, 2024

Copy link
Copy Markdown
Owner

No description provided.

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test please

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

ok to test

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

2 similar comments
@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

don't test

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

3 similar comments
@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

@WDRevAI

WDRevAI commented May 21, 2024

Copy link
Copy Markdown
Owner Author

test this please

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

Your comment goes here.


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Change the Y variable to a constant


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Change the Y variable to a constant

return words[number];
}

function randomWord222 () {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Change the Y variable to a constant


function randomWord222 () {
const number = randomNumber(words.length);
return words[number];

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Your comment in the file goes here.-- Sarra

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

test PR body comment.

}

//month span
elem = document.createElement("span");

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Your comment in the file goes here 2.-- Sarra

function randomWord222 () {
const number = randomNumber(words.length);
return words[number];
}

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Good

div.appendChild(elem);
}

//month span

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Good


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

test PR inline comment. --MKZ


let z = Math.floor(Math.random() * y);
return y;
}

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

test PR inline comment. --MKZ

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

Reda Please check this

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

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

div.appendChild(elem);
}

//month span

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Good

@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
File:06 - Calendar/dycalendar.js
code looks good

1 similar comment
@WDRevAI

WDRevAI commented May 22, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
File:06 - Calendar/dycalendar.js
code looks good

div.appendChild(elem);
}

//month span

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

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 () {

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Unnecessary whitespace change

@@ -40,10 +40,18 @@ const words = ['seat', 'pen', 'broad', 'vapor', 'ocean',


Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Unnecessary whitespace change

@@ -148,19 +148,6 @@
div.setAttribute("class", "dycalendar-header");
div.setAttribute("data-option", JSON.stringify(option));

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Please remove this extra line.

@WDRevAI

WDRevAI commented May 23, 2024

Copy link
Copy Markdown
Owner Author

File:05 - Random Password Generator/main.js
File:06 - Calendar/dycalendar.js
code looks good


function randomNumber (l) {
return Math.floor(Math.random() * l);
let y = Math.floor(Math.random() * l);

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Unnecessary whitespace change

div.appendChild(elem);
}

//month span

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Please remove this extra line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant