Problems are now in full code, will work in order when index.html file is opened in browser.