Web/scripts/greet.js
2019-07-06 23:35:20 +02:00

23 lines
No EOL
495 B
JavaScript

const greetings = [
'Hey!',
'How\'s it going?',
'Welcome!',
'Hello to you!',
'It\'s nice to see you!',
'How are you?',
'What\'s up?',
'Hello!',
'You\'re looking great today!',
'Good day mate!',
'Hello friend!',
'Howdy!',
'Guten Tag!',
'Servus!',
"Yo yo yo",
"Good morning!",
"Good evening!",
"Yo yo yo yo",
"Yo yo yo yo yo",
"Henlo"
];
$('#intro-text').html(greetings[Math.floor(Math.random() * greetings.length)]);