comment connecter alerte et documenter.Location en html

onclick="alert('hello world');window.location = 'URL'"
Daiwikrox bruh