How to show a list of random posts

thank you for trying to help, iam a newbie i thought this gonna be easy and i can do this just by changing a line on the code above

i tried with this Show 5 random posts? but it didn’t work