removed unneeded code
This commit is contained in:
parent
6cb59861be
commit
a438d09b83
2 changed files with 0 additions and 7 deletions
|
@ -15,7 +15,6 @@
|
||||||
<h1 class="project-name">Array in a Matrix</h1>
|
<h1 class="project-name">Array in a Matrix</h1>
|
||||||
<h2 class="project-tagline"> Welcome!</h2>
|
<h2 class="project-tagline"> Welcome!</h2>
|
||||||
<a href="https://github.com/array-in-a-matrix" class="btn">GitHub</a>
|
<a href="https://github.com/array-in-a-matrix" class="btn">GitHub</a>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
<main class="main-content">
|
<main class="main-content">
|
||||||
<h1>Welcome to my page</h1>
|
<h1>Welcome to my page</h1>
|
||||||
|
|
|
@ -27,9 +27,3 @@ function rand(items) {
|
||||||
let randcolor = rand(randomthemes);
|
let randcolor = rand(randomthemes);
|
||||||
document.documentElement.style.setProperty("--left", randcolor[0]);
|
document.documentElement.style.setProperty("--left", randcolor[0]);
|
||||||
document.documentElement.style.setProperty("--right", randcolor[1]);
|
document.documentElement.style.setProperty("--right", randcolor[1]);
|
||||||
|
|
||||||
function quadratic(numA, numB, numC) {
|
|
||||||
Xint1 = ((-numB) + Math.sqrt((Math.pow(numB, 2) - 4 * numA * numC))) / (2 * numA)
|
|
||||||
Xint2 = ((-numB) - Math.sqrt((Math.pow(numB, 2) - 4 * numA * numC))) / (2 * numA)
|
|
||||||
return [Xint1, Xint2]
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue