Web/scripts/greet.js

24 lines
504 B
JavaScript
Raw Normal View History

2018-07-24 22:45:53 +02:00
const greetings = [
'Hey!',
'How\'s it going?',
'Welcome!',
'Hello to you!',
'It\'s nice to see you!',
'How are you?',
'What\'s up?',
2018-07-25 01:54:04 +02:00
'Hello!',
2020-11-28 00:15:51 +01:00
'You\'re looking great!',
2018-07-25 01:54:04 +02:00
'Good day mate!',
'Hello friend!',
'Howdy!',
2018-12-16 23:39:35 +01:00
'Guten Tag!',
2019-07-06 23:35:20 +02:00
'Servus!',
"Yo yo yo",
"Good morning!",
"Good evening!",
"Yo yo yo yo",
"Yo yo yo yo yo",
2019-10-31 16:14:47 +01:00
"Henlo",
"Sul Sul"
2018-07-24 22:45:53 +02:00
];
$('#intro-text').html(greetings[Math.floor(Math.random() * greetings.length)]);