edited console.log and html file