Here are a few simple examples that don't need an account or anything to use.
Want to learn in more depth? The best resrouce you can use is https://portswigger.net/web-security/cross-site-scripting