Create Project4.HTML
This commit is contained in:
parent
53178bdac9
commit
130eb43129
1 changed files with 36 additions and 0 deletions
36
Project4.HTML
Normal file
36
Project4.HTML
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Secret Button Page</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
background-color: white;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#secretButton {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 10px;
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
background-color: rgba(0, 0, 0, 0.05);
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
opacity: 0.1;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<button id="secretButton" onclick="goToAnotherPage()"></button>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
function goToAnotherPage() {
|
||||||
|
// Replace 'another-page.html' with the actual page you want to navigate to
|
||||||
|
window.location.href = 'Redditlikeheavyhitter.HTML';
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Reference in a new issue