const type = (<HTMLInputElement>document.getElementById('type')).value; #https://www.fiverr.com/tamerjarrar