-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Maths addition #2080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: Ishaan28malik-patch-1
Are you sure you want to change the base?
Maths addition #2080
Conversation
Added
Update Youtube-Channels
Add Mini Project: JS Flex-Panels
Added ROT13 cipher encryption under CPP Mini-Projects
Added 5 Array programmes in java.
updated Youtube-channels
Add mini project find longest word JS
Added hangman mini project for python
Armstrong number in Java
Update Youtube-channels
Add Modern CSS to frontend resources
Roots of a Quadratic Equation
Generates random passoword upon the input of the password length.
I got uh Bruh! Added a credit for all your work and looking nice.
Add random Password Generator
Added Rock,paper and Scissor Game made using html5,css3 and Vanilla JS
Create ReverseStack.c
added 5 pattern programs in java with sample input and output
Create Continent_population.py
Ai Voice Message Sender
Create AddressBook.cpp
Create Sliding Window Maximum.cpp
| function arrivingMessage(output) { | ||
| const messageElement = document.createElement("div"); | ||
| const messageElementxt = document.createElement("span"); | ||
| const messageElementimg = document.createElement("img"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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!"; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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!"; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"); |
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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!"; |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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)`; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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)`; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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'); | |||
There was a problem hiding this comment.
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'); | |||
There was a problem hiding this comment.
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]) { |
There was a problem hiding this comment.
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 }; |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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).
This is my first project - I added a maths addition quiz generator w/ different difficulty levels.