Steps to create a postgres database and deply a Python app to Heroku
pipenv install gunicorn
or
pip install gunicorn
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Practice AJAX</title> | |
| <script type="text/javascript"> | |
| function do_ajax() { | |
| var req = new XMLHttpRequest(); | |
| var result = document.getElementById('result'); | |
| req.onreadystatechange = function() | |
| { |
| /*------------------------------------------ | |
| Responsive Grid Media Queries - 1280, 1024, 768, 480 | |
| 1280-1024 - desktop (default grid) | |
| 1024-768 - tablet landscape | |
| 768-480 - tablet | |
| 480-less - phone landscape & smaller | |
| --------------------------------------------*/ | |
| @media all and (min-width: 1024px) and (max-width: 1280px) { } | |
| @media all and (min-width: 768px) and (max-width: 1024px) { } |