Yuseunggeun

modify ejs file

<!DOCTYPE html>
<html>
<body>
<%for(var i =1; i<=20;i++){%>
<%= i + "." + graphic_card_info[i].name+" - ("+graphic_card_info[i].price+"$)"%>
<%var link = "http://www.videocardbenchmark.net/"+graphic_card_info[i].link.toString() %>>
<a href = <%=link%> target=_blank>link</a>
<br>
<%}%>
<form method="GET" action="http://localhost:3000/">
<input type="submit" value="돌아가기">
</form>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<%for(var i =0; i<20;i++){%>
<%= (i+1) + "." + list[i]%>
<br>
<%}%>
<h1>OSS TermProject-컴퓨터 부품 추천</h1>
<form method="POST" action="http://localhost:3000/main">
<input type="text" name="money" placeholder="예산을 입력하세요($).">
<input type="submit" value="확인">
</form>
<form method="GET" action="http://localhost:3000/rank">
<input type="submit" value="전체순위">
</form>
<!--
<form method="POST" action="/increase">
<input type="submit" value="Increase">
</form>
<form method="POST" action="/decrease">
<input type="submit" value="Decrease">
</form>
<form method="GET" action="/show">
<input type="submit" value="Show">
</form>
-->
</body>
</html>
\ No newline at end of file
......