Daily Hyperlink Color Changer
Changes the color of a page's linked text depending on what day of the week it is.
Usage
Download colorchange.js
and include in HTML page. Refresh the page/clear cache?
<script src="colorchange.js"></script>
Place this code inside the body; all links will have loaded before the script runs.
Testing
Testing with Jest.
npm install
npm test
This repo includes a demo index.html
using the script. You can view a demo here: mnl.space.
Or you can view my pen on codepen.io