Professional Documents
Culture Documents
Codcarenumre
Codcarenumre
/* eslint-disable prefer-const */
/* eslint-disable no-unused-vars */
import React, { useState, useEffect } from 'react';
import '../../App.css';
<label htmlFor="name">Position</label>
<input
type="text"
className="form-control mb-4"
/>
return (
<div className="container-fluid p-0" style={{ minHeight: '100vh', background:
'#00008b' }}>
<div className="container bg-white px-4 pt-3 rounded-lg shadow"
style={{ minHeight: '100vh' }}>
<h2 className="mb-5 font-weight-bold text-center" style={{ color: '#00008b'
}}>Make a new portofolio</h2>
<form action="">
<label htmlFor="name">Full name</label>
<input type="text" id="name" className="form-control mb-4"
placeholder="Full Name" />
<label htmlFor="email">Email</label>
<input type="text" id="email" className="form-control mb-4"
placeholder="Email" />
{
(projects > 0 ? projectsInputs.map((projectsInput) => projectsInput) :
'')
}
<button
type="button"
className="btn btn-info"
onClick={() => {
setProjects((last) => (last + 1));
addProjectsInput();
}}
>
Add past experience
</button>