created add HTML function in main.js