import React from "react";
import ReactDOM from "react-dom/client";

export default function SampleForm() {
    return (
        <div>
            <h1>Hello, this is a sample form made in react !</h1>
            <form action="result" method="POST">
                <label>your name: </label>
                <input type="text" id="name" name="username"/>
                <label>your password: </label>
                <input type="password" id="password" name="password"/>
                <input type="submit" value="click me!"/>
            </form>
        </div>
    )
}



