DEV Community

Cover image for Adventofcode 🎄 : Day 6 - Forms in React
Jemima M
Jemima M

Posted on

Adventofcode 🎄 : Day 6 - Forms in React

Happy December 6th!! Let's introduce/revise forms in React...

Forms constitute a fundamental component of web applications, serving as a vital channel for user interaction and information acquisition within the application. They not only facilitate user engagement but also play a pivotal role in efficiently collecting valuable data from users.

Here is an example:

<form action={search}>
    <input name="query" />
    <button type="submit">Search</button>
</form>
Enter fullscreen mode Exit fullscreen mode

Without forms, numerous tasks we often take for granted on the web—like logging in, signing up, or making purchases—would be impossible.

There are some key points about forms in React which I will cover at some point within the Adventofcode!!!

I hope that this has helped and remember....KEEP CODING!!🎄

Top comments (0)