##Talk to paddy
#####Setup
- Create a
paddy.js
file - Create a
paddy.css
file - Create a
paddy.html
file
#####Paddy
You're out enjoying a few green beers when you bump into Paddy in a bar. Write a JS program in paddy.js
that takes input from an id='question'
input box and returns Paddy's reply in a new <div>
Say 'Happy St Patrick's' and Paddy replies 'tildlely de, potatoes'
Ask him 'Do you want a pint of Guinness?' Paddy's had a pint or two and the Irish band is really loud so you might need to shout twice and he'll reply 'Just the luck of the Irish.'
Then say to him 'Paddy, it's your round.' and he'll reply 'Look, Leprechaun!'
####Extension
Use your CSS file to make it look pretty and add some animation to a shamrock image you've found