-
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
Showing
6 changed files
with
159 additions
and
0 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
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,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Make A Meme</title> | ||
<style> | ||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
iframe { | ||
width: 100%; | ||
height: 100%; | ||
border: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<iframe src="https://makeameme.vercel.app/"></iframe> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="style.css"> | ||
<title>Random Number Generator</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<p id="randomNumber">0</p> | ||
|
||
<div class="controls"> | ||
<button id="generateNumberButton">Generate Number</button> | ||
<label for="limitSlider">Limit:</label> | ||
<input type="range" id="limitSlider" min="1" max="1000" value="1000"> | ||
<span id="limitValue">Drag to set the limit</span> | ||
</div> | ||
</div> | ||
|
||
<script src="script.js"></script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
document.addEventListener('DOMContentLoaded', function () { | ||
const randomNumberDisplay = document.getElementById('randomNumber'); | ||
const generateNumberButton = document.getElementById('generateNumberButton'); | ||
const limitSlider = document.getElementById('limitSlider'); | ||
const limitValue = document.getElementById('limitValue'); | ||
|
||
generateNumberButton.addEventListener('click', generateRandomNumber); | ||
limitSlider.addEventListener('input', updateLimitValue); | ||
|
||
function generateRandomNumber() { | ||
const limit = parseInt(limitSlider.value); | ||
const randomNumber = Math.floor(Math.random() * limit) + 1; | ||
randomNumberDisplay.textContent = randomNumber; | ||
} | ||
|
||
function updateLimitValue() { | ||
limitValue.textContent = limitSlider.value; | ||
} | ||
}); |
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,61 @@ | ||
body { | ||
background-color: #1a1a1a; | ||
color: white; | ||
font-family: 'Arial', sans-serif; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
.container { | ||
text-align: center; | ||
} | ||
|
||
#randomNumber { | ||
margin: 20px 0; | ||
font-size: 200px; | ||
} | ||
|
||
.controls { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
} | ||
|
||
button { | ||
margin-top: 10px; | ||
padding: 12px 24px; | ||
font-size: 16px; | ||
background-color: #555; | ||
color: white; | ||
border: none; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
button:hover { | ||
background-color: #777; | ||
} | ||
|
||
label { | ||
margin-top: 10px; | ||
font-size: 16px; | ||
} | ||
|
||
input { | ||
width: 100%; | ||
margin-top: 5px; | ||
} | ||
|
||
#limitValue { | ||
margin-top: 5px; | ||
font-size: 10px; | ||
color: #fff; | ||
} | ||
#limitSlider { | ||
width: 80vw; | ||
margin-top: 5px; | ||
} |
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,22 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>VITB Mess</title> | ||
<style> | ||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
iframe { | ||
width: 100%; | ||
height: 100%; | ||
border: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<iframe src="https://vitbmess-menu.vercel.app/"></iframe> | ||
</body> | ||
</html> |