https://project-hspnjpj9h-hehluls-projects.vercel.app/
To create a CV application generator. A program where users can enter their information and outputs the information in a recume like format.
- Get accustomed to the React enviornment.
- Practice using usestate.
-
First, setup for input tag
type="text" name="fname" placeholder="First Name" onChange={handleInputChange} value={data.fname} />
-
Second, setup usestate var
const [data, setData] = useState({
fname: "",
lname: "",
email: "",
phone: "",
linkdn: "",
});
- Third, setup handleInputChange function
const handleInputChange = (e) => {
const { name, value } = e.target;
setData({
...data,
[name]: value,
});
console.log();
};