Web/scripts/greet.js
2018-12-16 23:39:35 +01:00

17 lines
No EOL
383 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!'
];
$('#intro-text').html(greetings[Math.floor(Math.random() * greetings.length)]);