Skip to content

Commit

Permalink
adds a minimal home page (design only)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick McElhaney committed Aug 10, 2019
1 parent 19a827f commit 1b72516
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 0 deletions.
93 changes: 93 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html>
<html>
<head>
<title>Boolio</title>
<style type="text/css">
body {
font-family: sans-serif;
}

h1 {
text-align: center;
font-family: cursive;
font-size: 72px;
}

#expression {
display: block;
width: 75%;
margin: 0 auto;
font-size: 36px;
text-align: center;
}

#truth-table {
margin: 36px auto;
font-size: 36px;
border-collapse: collapse;
}

#truth-table th {
border-bottom: 3px solid black;
}

#truth-table th,
#truth-table td {
text-align: center;
width: 200px;
}

#truth-table td:last-child {
border-left: 3px solid black;
}
</style>
</head>

<body>
<h1>Boolio</h1>
<main>
<form>
<input
id="expression"
aria-label="boolean expression in JavaScript"
value="foo && bar"
/>
</form>
</main>

<table id="truth-table">
<thead>
<tr>
<th scope="col">foo</th>
<th scope="col">bar</th>
<th scope="col">=</th>
</tr>
</thead>
<tbody>
<tr>
<td>T</td>
<td>T</td>
<td>T</td>
</tr>
<tr>
<td>T</td>
<td>F</td>
<td>F</td>
</tr>
<tr>
<td>F</td>
<td>T</td>
<td>F</td>
</tr>

<tr>
<td>F</td>
<td>F</td>
<td>F</td>
</tr>
</tbody>
</table>

<script language="javascript" src="ui.js"></script>
</body>
</html>
Empty file added ui.js
Empty file.

0 comments on commit 1b72516

Please sign in to comment.