Last active
November 16, 2020 04:41
-
-
Save kongmunist/bb43a2da50acd7f427c56cf0382c3d1c to your computer and use it in GitHub Desktop.
Basic HTML page
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>Accelerometer Demo</title> | |
<style> | |
.indicatorDot{ | |
width: 30px; | |
height: 30px; | |
background-color: #ffab56; | |
border-radius: 50%; | |
position:fixed; | |
} | |
</style> | |
<script></script> | |
</head> | |
<body style="background-color:lightblue;"> | |
<button id="accelPermsButton" style="height:50px;" onclick="getAccel()"><h1>Get Accelerometer Permissions</h1></button> | |
<div class="indicatorDot" style="left:30%; top:30%;"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment