Skip to content

Conversation

@osamaajr
Copy link

This is my first project - I added a maths addition quiz generator w/ different difficulty levels.

ariexx and others added 30 commits October 4, 2020 04:30
Added ROT13 cipher encryption under CPP Mini-Projects
Added hangman mini project for python
phoenix1406 and others added 26 commits October 9, 2022 23:39
Generates random passoword upon the input of the password length.
I got uh Bruh! Added a credit for all your work and looking nice.
Added Rock,paper and Scissor Game made using html5,css3 and Vanilla JS
added 5 pattern programs in java with sample input and output
function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
const messageElementimg = document.createElement("img");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

messageElement.append(messageElementxt);
}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

};
function appendMessage(message) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

//console.log("Speech recognition has stopped.");
};
function appendMessage(message) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

loadvoice.src = "";
var output = "No, don't ask this question anymore!";
arrivingMessage(output);
var uri = "no, don't ask this question anymore";
Copy link

Choose a reason for hiding this comment

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

'uri' is already defined.

loadvoice.play();
} else if (command.toLowerCase() === "did you farted") {
loadvoice.src = "";
var output = "No, don't ask this question anymore!";
Copy link

Choose a reason for hiding this comment

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

'output' is already defined.

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
setTimeout("mainvoice.play();", 5000);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.


window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.

var main = document.getElementById("main");

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.

function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
const messageElementimg = document.createElement("img");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

messageElement.append(messageElementxt);
}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

};
function appendMessage(message) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

//console.log("Speech recognition has stopped.");
};
function appendMessage(message) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

loadvoice.src = "";
var output = "No, don't ask this question anymore!";
arrivingMessage(output);
var uri = "no, don't ask this question anymore";
Copy link

Choose a reason for hiding this comment

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

'uri' is already defined.

loadvoice.play();
} else if (command.toLowerCase() === "did you farted") {
loadvoice.src = "";
var output = "No, don't ask this question anymore!";
Copy link

Choose a reason for hiding this comment

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

'output' is already defined.

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
setTimeout("mainvoice.play();", 5000);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.


window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.

var main = document.getElementById("main");

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.

function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
const messageElementimg = document.createElement("img");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

messageElement.append(messageElementxt);
}
function arrivingMessage(output) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

};
function appendMessage(message) {
const messageElement = document.createElement("div");
const messageElementxt = document.createElement("span");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

//console.log("Speech recognition has stopped.");
};
function appendMessage(message) {
const messageElement = document.createElement("div");
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

loadvoice.src = "";
var output = "No, don't ask this question anymore!";
arrivingMessage(output);
var uri = "no, don't ask this question anymore";
Copy link

Choose a reason for hiding this comment

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

'uri' is already defined.

loadvoice.play();
} else if (command.toLowerCase() === "did you farted") {
loadvoice.src = "";
var output = "No, don't ask this question anymore!";
Copy link

Choose a reason for hiding this comment

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

'output' is already defined.

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
setTimeout("mainvoice.play();", 5000);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.


window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
setTimeout("screen.style.display = 'none';", 4800);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.

var main = document.getElementById("main");

window.onload = function() {
setTimeout("screen.style.opacity = '0';", 4500);
Copy link

Choose a reason for hiding this comment

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

Implied eval. Consider passing a function instead of a string.


const hour = now.getHours();
const hourDegrees = ((hour / 12) * 360) + ((mins/60)*30) + 90;
hourHand.style.transform = `rotate(${hourDegrees}deg)`;
Copy link

Choose a reason for hiding this comment

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

'template literal syntax' is only available in ES6 (use 'esversion: 6').

minsHand.style.transform = `rotate(${minsDegrees}deg)`;

const hour = now.getHours();
const hourDegrees = ((hour / 12) * 360) + ((mins/60)*30) + 90;
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

const minsDegrees = ((mins / 60) * 360) + ((seconds/60)*6) + 90;
minsHand.style.transform = `rotate(${minsDegrees}deg)`;

const hour = now.getHours();
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).


const mins = now.getMinutes();
const minsDegrees = ((mins / 60) * 360) + ((seconds/60)*6) + 90;
minsHand.style.transform = `rotate(${minsDegrees}deg)`;
Copy link

Choose a reason for hiding this comment

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

'template literal syntax' is only available in ES6 (use 'esversion: 6').

secondHand.style.transform = `rotate(${secondsDegrees}deg)`;

const mins = now.getMinutes();
const minsDegrees = ((mins / 60) * 360) + ((seconds/60)*6) + 90;
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

@@ -0,0 +1,22 @@
const secondHand = document.querySelector('.second-hand');
const minsHand = document.querySelector('.min-hand');
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

@@ -0,0 +1,22 @@
const secondHand = document.querySelector('.second-hand');
Copy link

Choose a reason for hiding this comment

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

'const' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).



}
function finalmessage([yourscore,computerscore]) {
Copy link

Choose a reason for hiding this comment

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

'destructuring binding' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

perpage: sizePage,
};

return { data, pagination };
Copy link

Choose a reason for hiding this comment

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

'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).
Unrecoverable syntax error. (76% scanned).

}

const pagination = {
total,
Copy link

Choose a reason for hiding this comment

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

'object short notation' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).

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.