added back deleted function and revised createDiv function to connect with details.html and created 2 new functions (divv and createD)