Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Registration form file
import React, {useState} from 'react';
function RegistrationForm(props) {
return(
<div className="card col-12 col-lg-4 login-card mt-2 hv-center">
<form>
<div className="form-group text-left">
<label htmlFor="exampleInputEmail1">Email address</label>
<input type="email"
className="form-control"
id="email"
aria-describedby="emailHelp"
placeholder="Enter email"
/>
<small id="emailHelp" className="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div className="form-group text-left">
<label htmlFor="exampleInputPassword1">Password</label>
<input type="password"
className="form-control"
id="password"
placeholder="Password"
/>
</div>
<div className="form-group text-left">
<label htmlFor="exampleInputPassword1">Confirm Password</label>
<input type="password"
className="form-control"
id="confirmPassword"
placeholder="Confirm Password"
/>
</div>
<button
type="submit"
className="btn btn-primary"
>
Register
</button>
</form>
</div>
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment