Web/scripts/greet.js
Ell c89c311bcb
All checks were successful
Web/pipeline/head This commit looks good
some visual consistency changes
2020-11-28 00:15:51 +01:00

24 lines
504 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!',
'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",
"Sul Sul"
];
$('#intro-text').html(greetings[Math.floor(Math.random() * greetings.length)]);