Skip to content

Instantly share code, notes, and snippets.

@pseudosavant
Last active September 21, 2019 21:21
Show Gist options
  • Save pseudosavant/0fb954cfd6f8cf6bb1d4270860410565 to your computer and use it in GitHub Desktop.
Save pseudosavant/0fb954cfd6f8cf6bb1d4270860410565 to your computer and use it in GitHub Desktop.
Test of using
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="message"></div>
<script src="script.js"></script
</body>
</html>
const msg = 'script.js was successfully loaded from GitHub';
console.log(msg);
document.querySelector('.message').textContent = msg;
body {
font-family: sans-serif;
}
.message::after {
content: " styles.css was successfully loaded from GitHub";
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment