Hi all !
Here’s my quote generator on codepen.
What do you think ?
I’ve tried to keep the code as simple as possible, yet I haven’t managed to use the get-quote
function (declared at the beginning of $(document).ready
) in getJSON
and $("#new_quote").click
part to avoid code repetition.
Do you have any tip about this ?