start : html and css
add a div it's id "previewWin" and it's css
add js file
write js script