created conditionals files

made the js and html files