Skip to content

Commit

Permalink
Merge pull request #2 from coliff/patch-1
Browse files Browse the repository at this point in the history
Fix error in HTML ('motion' should be 'contrast')
  • Loading branch information
AnandChowdhary committed Nov 25, 2019
2 parents c233562 + 03a5432 commit 70fb993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</style>
</head>
<body>
<h1>Your motion preference is <strong id="contrastPreference">loading...</strong>.</h1>
<h1>Your contrast preference is <strong id="contrastPreference">loading...</strong>.</h1>
<script type="module">
import prefersContrast from "https://unpkg.com/prefers-contrast";
document.querySelector("#contrastPreference").innerHTML = prefersContrast();
Expand Down

0 comments on commit 70fb993

Please sign in to comment.