repl.it
@brendenmolina7/

CDR_MOLINA_ME4_FINAL

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>repl.it</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <div>
      <h1>Quadratic Equation Calculator</h1>
      <form name="form">
        <input type="number" id="val1" name="val1">
        
        <input type="number" id="val2" name="val2">

        <input type="number" id="val3" name="val3">

      <button type="button" onclick="compQuad()">Hi</button>
      <p id="pneg"></p>
      <p id="nneg"></p>
      </form>
    </div>
    <script src="script.js"></script>
  </body>
</html>
result
console