DBC Lucky Ajax Challenge
https://github.com/alexcodreanu86/Lucky_ajax
- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
DBC Lucky Ajax Challenge
https://github.com/alexcodreanu86/Lucky_ajax
We changed
application.js
so that it intercepts submit button click, preventing the page from refreshing, generate a random die number, send die number via AJAX POST, and add image URL attribute of corresponding die inside the<img src="">
tag.