I'm teaching myself to code in html/css/javascript to help improve my own efficiency at my job (I enroll grad students at a university and currently it's all done on paper. I want to take this to a web page so it's easier for everyone involved)
My apologies, this is a little messy:
.Add {
overflow: auto;
display: inline-block;
padding: 10px;
width: calc(65% - 10px);
border: 1px solid;
background-color: rgba(255, 255, 255, .75)
}
.Add input {
width: 100%;
vertical-align:top;
}
.Add button {
margin:10px;
margin-left: 44px;
}
.Add td {
border: 1px solid;
}
<div class="CourseInfo">
<div class="Add">
<span>
COURSES TO BE ADDED:
<table>
<tbody>
<tr>
<th style="width: 5%">Class #</th>
<th style="width: 40%;">Course Title</th>
<th style="width: 20%;">Catalog Number</th>
<th style="width: 10%;">Units/ Credits</th>
<th style="width: 5%;">*Days</th>
<th style="width: 5%;">*Time</th>
<th style="width: 5%;">*Bldg/Rm</th>
<th style="width: 10%;">Variable Credits?</th>
</tr>
<div id="courseTable">
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</div>
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>##</td>
<td><input list="courses" name="course" placeholder="Course">
<datalist id="courses">
<option value="a Class 1">
<option value="a Class 2">
<option value="b Class 3">
<option value="b Class 4">
<option value="Class 5">
</datalist></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
Here is the full fiddle I'm working in: https://jsfiddle.net/frodomeg/0kLmoan4/
In the section that displays the courses to be added or dropped (in the snippet), I have a stand-in datalist. What I would like to be able to do is import our department's course list for the upcoming term (which I download from our department site into a .xls file and then convert to .csv) and have those displayed in the datalist for students to choose from.
Now, it doesn't have to be a .csv if there is something better out there, I'm just not sure what else would work.
Because I'm so new to this whole thing and writing it entirely in fiddle before I send it to my boss for approval to start production, it would be most helpful if I could do this without downloading any outside programs. Or if I have to download via outside program, could you tell me how to add it to fiddle?
Any help is greatly appreciated!
Thanks