Created
March 1, 2021 23:28
-
-
Save jrandallsexton/a26c1d8acc1dc94ed4268c8a43719cd5 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<table> | |
<tr> | |
<th>Col 1</th> | |
<th>Col 2</th> | |
<th>Col 3</th> | |
</tr> | |
<tr> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
</tr> | |
<tr> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
</tr> | |
<tr> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
</tr> | |
<tr> | |
<td class="meRed">col1 value</td> | |
<td>col1 value</td> | |
<td>col1 value</td> | |
</tr> | |
</table> | |
<script src="script.js"></script> | |
</body> | |
</html> |
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
console.log('Hello World!'); |
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
/* todo: add styles */ | |
table { | |
font-family: arial, sans-serif; | |
border-collapse: collapse; | |
width: 100%; | |
} | |
td, th { | |
border: 1px solid #dddddd; | |
text-align: left; | |
padding: 8px; | |
} | |
tr:nth-child(even) { | |
background-color: #dddddd; | |
} | |
.meRed { | |
color: red; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment