https://siteforinfotech.com/2015/02/how-to-write-conditional-statements-in-javascript.html