How can i write this? Anyone

Please copy the minimum required code snippet and paste here. Also, it will be easier for us to help if you can share the error message as well