avoid using onlick inside html tags. it's JS part