-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9d2bc7
commit 5d6e2cf
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang = "en"> | ||
<head> | ||
<header>Changing Contrast Mode</header> | ||
</head> | ||
<canvas id="canvas"></canvas> | ||
<script type = "text/javascript"> | ||
|
||
var currentLocation = window.location | ||
var imageArray = [] //to make an empty array | ||
|
||
currentLocation.forEach(element => { | ||
curURL = changeImage(element) // creates a new url for the altered element | ||
changeURL(curURL) // gives the file the new url for element | ||
}); | ||
|
||
</script> | ||
<body> | ||
<h1>Turn on high contrast mode?</h1> | ||
<button onclick>Yes</button> | ||
<button onclick>No</button> | ||
</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