Skip to content

Commit

Permalink
LETS GO BABY SPRINTING IS HERE
Browse files Browse the repository at this point in the history
  • Loading branch information
SprintingSnail69 authored Oct 18, 2024
1 parent 7697f33 commit 7866a57
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ RandomRizz is where you can get those pickup lines, and even potentially snatch
- Scripted the theme switcher
- Did most of the HTML
- Also has a YouTube channel [(Right Here)](https://youtube.com/@syntax.error.history.)

### SprintingSnail
- Helping with CSS/HTML
- Has rizz
- Can rizz you up
- Will rizz you up
# RIZZ
Binary file added audio/rizz.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1 id="randomrizz">Rizz will appear here!</h1>
<br><br>

<center>
<button onclick="randomRizzler()" style="margin-top: -30px; scale: 115%;" class="button-big">Random Rizz</button>
<button onclick="randomRizzler()" style="margin-top: -30px; scale: 115%;" class="button-big">Random Rizz <audio style="display: none;" controls autoplay src="audio/rizz.mp3"></audio> </button>
</center>

<br>
Expand Down
17 changes: 13 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
const rizzData = {
"illegal_rizz": "Your in your bed, I am in mine. \n One of us is in the wrong place.",
"awesome_rizz": "Before I came there was no d in you. That will change.",
"awesome_rizz": "Before I came there was no D in you. That will change.",
"arab_rizz": "Do you want to make some twin towers?",
"evil_rizz": "Are you a crime scene? \n Because I can't resist leaving my DNA all over you.",
"legal_rizz": "Are you an artist? \n Because you're really good at drawing me in ;)",
"adam_rizz": "Are you food? \n Because I'm going to fanum tax you.",
"other_rizz": "Are you a light switch? \n Because you turn me on!!"
};
//Adam I personally would not take that amount of disrespect ;)//

function getRizz(type) {
switch (type) {
Expand All @@ -16,14 +18,17 @@ function getRizz(type) {
window.alert(rizzData.awesome_rizz);
break;
case 'arab_rizz':
window.alert(rizzData.arab_rizz);
break;
window.alert(rizzData.arab_rizz);
break;
case 'evil_rizz':
window.alert(rizzData.evil_rizz);
break;
case 'legal_rizz':
window.alert(rizzData.legal_rizz);
break;
case 'adam_rizz':
window.alert(rizzData.adam_rizz);
break;
case 'other_rizz':
window.alert(rizzData.other_rizz);
break;
Expand Down Expand Up @@ -72,12 +77,16 @@ function randomRizzler() {
document.getElementById('randomrizz').textContent = 'If you were a vegetable, you\'d be a CUTEcumber!'
break;
case 9:
document.getElementById('randomrizz').textContent = 'Are you a bank loan? Because you have got my intrest!'
document.getElementById('randomrizz').textContent = 'Are you a bank loan? Because you have got my interest!'
break;
case 10:
document.getElementById('randomrizz').textContent = 'Are you a camera? Because every time I look at you, I smile.'
break;
case 11:
document.getElementById('randomrizz').textContent = 'Are you a dictionary? Cause you\'re adding meaning to my life.'
break;
case 12:
document.getElementById('randomrizz').textContent = 'Are you food? Because I\'m going to fanum tax you.'
break;
}
}

0 comments on commit 7866a57

Please sign in to comment.