img
included main.js
added constraint
reformatted the code for better styling
added main.js to keep js files