Suvery form project 2

hello guys, i am working on my 2nd project, and when i am looking at code example, i dont understand one line. can any1 help me understand what is that?
i try to comment it out, but nothing changes. thank you for help.

this is a line

<form id="survey-form" method="GET" action="">

It basically means, after you submit any form it sends the data to the backend via URL (Since the method type is GET) in the form of key:value pair Ex: name=yourname&age=yourage.

There are two method types one passes through url (above one) and another is POST, which is sent through the body of HTTP and use this for sending sensitive data.

action attribute contains the url where your form data goes.

For more detail, refer this,