made a conditionals html and JS file