Hey! If you want to learn more about XSS, the best way to learn it is to do some XSS attacks yourself!
There's this great game from Google called the XSS game
I highly encourage you to give it a shot!
Do not feel ashamed to google the answers. Some of the later levels are really hard and can be very tricky.
This little app got me in to security, so much that I picked up my old lockpicks and reminded myself about some of the basics of security, not just in the web developer world, but in general too.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.