-
Notifications
You must be signed in to change notification settings - Fork 0
/
newCard.html
76 lines (66 loc) · 2.86 KB
/
newCard.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Make a New Card</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/header.css">
<link rel="stylesheet" href="css/newCard.css">
<title> making new cards</title>
</head>
<body>
<script src="js/header.js"></script>
<div id="form-container">
<form id="cardForm">
<fieldset>
<div>
<h2>Make Your New Card</h2>
</div>
<div>
<label for="title">Card Title</label>
<input id="title" placeholder="Your title" type="text" name="title" required/>
</div>
<div>
<label for="group">Topic Area</label>
<select id="group">
<option value="0">Fundamentals</option>
<option value="1">Control Flow</option>
<option value="2">Functions</option>
<option value="3">Data Structures</option>
</select>
</div>
<div>
<label for="explanation">Explanation </label>
<textarea class="prose" name="explanation" required placeholder="Explain your topic here"></textarea>
</div>
<div>
<label for="example">Example </label>
<textarea class="code" name="example" required placeholder="// your example code here"></textarea>
</div>
<div>
<label for="question">Question </label>
<textarea class="prose" name="question" required placeholder="Put your question here"></textarea>
</div>
<div>
<label for="problem">Problem </label>
<textarea class="code" name="problem" required placeholder="// your problem code here"></textarea>
</div>
<div>
<label for="solution">Solution </label>
<input id="solution" placeholder="Your solution" type="text" name="solution" required/>
</div>
<div>
<label for="reason">Reason (optional)</label>
<textarea class="prose" name="reason" placeholder="The reason for your solution here"></textarea>
</div>
<button type="submit">Submit Form</button>
</fieldset>
</form>
</div>
<script src="js/allCards.js"></script>
<script src="js/newCard.js"></script>
</body>
</html>