Skip to content
Snippets Groups Projects
Select Git revision
  • 4b2f60c72c301b5b15ad93bf3b37a7eb1d6413c3
  • master default
2 results

ugradpage2f.jsp

Blame
  • index.html 990 B
    <!doctype html>
    <html lang="en">
    
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Expression Simplifier</title>
      <script defer="true" src="libraries/jquery/jquery.min.js"></script>
      <script defer="true" type="module" src="js/index.js"></script>
    </head>
    
    <body>
      <div>
        Boolean variables: <code>x</code> and <code>y</code>
      </div>
      <div>
        <label>Expression to simplify:
          <input id="unsimplified" type="text" autocomplete="off" value="">
        </label>
      </div>
      <div>
        <label>Maximum number of operators:
          <input id="operators" type="number" autocomplete="off" min="0" value="1" max="4">
        </label>
      </div>
      <div>
        <label>Simplified:
          <code><output id="simplified"></output></code>
        </label>
      </div>
      <hr>
      <div>
        Examples:
        <ul>
          <li><code>(x && y) !== (x || y)</code></li>
          <li><code>(!x && !y) || (x && !y) || (x && y)</code></li>
        </ul>
      </div>
    </body>
    
    </html>