Search section like on Reddit?

Hello friends, I see you are trying to help me but I cannot write code.
If there is ready code I can only fix it.
If there is anyone who can help, I’ll wait.
Thank you.
What seems easy for you is difficult for me, the codes are too complicated for me.