selected data from console and displayed it on the brpwser