Ajax forms examples

Hi I am building a survey site using grav and wanted to study more examples of ajax forms and frontend/backend code . I would be greatful for any example code shown ,so far I have studied the grav learn tutorial and tutorials point tutorial .
Thanks for any info .

What do you exactly need? Just some code examples?

Yeah I am not looking for something in particular just any code samples (related to ajax forms)