transport.ejs
1.28 KB
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
<h1>🚌 버스 현황</h1>
<table class="table">
<thead>
<tr>
<th>버스정류장명</th>
<th>버스정류장ID</th>
</tr>
</thead>
<tbody>
<%for (var i =0; i <busStations.length; i++){%>
<tr>
<td>
<%=busStations[i].stationName%>역
</td>
<td>
<%=busStations[i].stationID%>
</td>
</tr>
<%}%>
</tbody>
</table>
<h3>총 버스정류장 개수 :
<%=busStations.length%>
</h3>
<h1>🚆 지하철역 현황</h1>
<table class="table">
<thead>
<tr>
<th>지하철역명</th>
<th>지하철역ID</th>
<th>지하철호선</th>
</tr>
</thead>
<tbody>
<%for (var i =0; i <subwayStations.length; i++){%>
<tr>
<td>
<%=subwayStations[i].stationName%>역
</td>
<td>
<%=subwayStations[i].stationID%>
</td>
<td>
<%=subwayStations[i].laneName%>
</td>
</tr>
<%}%>
</tbody>
</table>
<h3>총 지하철역 개수 :
<%=subwayStations.length%>
</h3>