Skip to content

Commit e393195

Browse files
authored
Merge pull request YurisCodingClub#13 from Vinitvh/issue#7
[FEATURE]: Form Education
2 parents 61dff68 + 585894f commit e393195

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

src/App.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
import "./App.css";
1+
import './App.css';
22
import Header from "./components/Header/Header";
33
import DownloadButton from "./components/DownloadButton";
44
import ProgrammingExpertise from "./components/ProgrammingExpertise";
5+
import Education from './components/Education';
56

67
function App() {
78
return (
89
<>
9-
<Header />
10+
<Header />
1011
<DownloadButton />
1112
<ProgrammingExpertise />
13+
<Education />
1214
</>
1315
);
1416
}

src/components/Education.js

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import React from 'react';
2+
3+
const Education = () => {
4+
return (
5+
<div>
6+
<h1>Education</h1>
7+
<br />
8+
<form>
9+
<div>
10+
<label for='degree'>Degree</label>
11+
<input type='text' name='degree' id='degree' required />
12+
</div>
13+
<div>
14+
<label for='school'>School</label>
15+
<input type='text' name='school' id='school' required />
16+
</div>
17+
<div>
18+
<label for='gpa'>GPA</label>
19+
<input type='text' name='gpa' id='gpa' required />
20+
</div>
21+
<div>
22+
<label for='city'>City</label>
23+
<input type='text' name='city' id='city' required />
24+
</div>
25+
<div>
26+
<label for='country'>Country</label>
27+
<input
28+
type='text'
29+
name='country'
30+
id='country'
31+
autoComplete='country-name'
32+
required
33+
/>
34+
</div>
35+
<div>
36+
<label for='start-date'>Start Date</label>
37+
<input type='date' name='startDate' id='startDate' required />
38+
</div>
39+
<div>
40+
<label for='end-date'>End Date</label>
41+
<input type='date' name='endDate' id='endDate' required />
42+
</div>
43+
<div>
44+
<label for='description'>Description</label>
45+
<textarea name='description' id='description' required></textarea>
46+
</div>
47+
<button>Save</button>
48+
<button>Cancel</button>
49+
</form>
50+
</div>
51+
);
52+
};
53+
54+
export default Education;

0 commit comments

Comments
 (0)