Last active
November 1, 2017 20:20
-
-
Save nikmd23/d5724d56581a2a28c106e278160c5caa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Code Qualities</title> | |
<style> | |
.grid { | |
display: grid; | |
width: 100%; | |
height: 100%; | |
grid-template-columns: repeat(4, 1fr); | |
grid-template-rows: repeat(3, 1fr); | |
} | |
.item { | |
justify-self: center; | |
align-self: center; | |
background-color: #5B9BD5; | |
border: medium solid #41719C; | |
width: 300px; | |
height: 200px; | |
line-height: 200px; | |
text-align: center; | |
border-radius: 1em; | |
color: white; | |
font-family: sans-serif; | |
font-size: 18pt; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="grid"> | |
<div class="item">App Performance</div> | |
<div class="item">Errors & Exceptions</div> | |
<div class="item">Complexity</div> | |
<div class="item">Affects on Biz Metrics</div> | |
<div class="item">Memory Performance</div> | |
<div class="item">Security Concerns</div> | |
<div class="item">Testability</div> | |
<div class="item">History of Code</div> | |
<div class="item">Scalability</div> | |
<div class="item">Legal Concerns</div> | |
<div class="item">Extensibility</div> | |
<div class="item">Other?</div> | |
</div> | |
<script> | |
const grid = document.querySelector(".grid"); | |
for (var i = grid.children.length; i >= 0; i--) { | |
grid.appendChild(grid.children[Math.random() * i | 0]); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment