서연진

public 추가

...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
5 <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 5 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7 <title>HomePurchaseAgePrediction</title> 7 <title>HomePurchaseAgePrediction</title>
8 - <link rel="stylesheet" href="style.css" /> 8 + <link rel="stylesheet" href="css/style.css" />
9 <link rel="preconnect" href="https://fonts.gstatic.com" /> 9 <link rel="preconnect" href="https://fonts.gstatic.com" />
10 <link 10 <link
11 href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;500;900&display=swap" 11 href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;500;900&display=swap"
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 사용자의 위치기반으로 집 구매 시기를 예측해드립니다 (사용자 위치 근처의 20 사용자의 위치기반으로 집 구매 시기를 예측해드립니다 (사용자 위치 근처의
21 집을 찾아드립니다) 21 집을 찾아드립니다)
22 </h4> 22 </h4>
23 - <form action="/geolocation" method = "POST"> 23 + <form action="/geolocation" method="POST">
24 <div> 24 <div>
25 연봉(단위:만 원) 25 연봉(단위:만 원)
26 <input 26 <input
......
...@@ -26,7 +26,7 @@ h4 { ...@@ -26,7 +26,7 @@ h4 {
26 26
27 body { 27 body {
28 background-color: var(--main-bg-color); 28 background-color: var(--main-bg-color);
29 - background: no-repeat fixed 50% 50% url("./src/background.jpg"); 29 + background: no-repeat fixed 50% 50% url("../src/background.jpg");
30 color: var(--point-color); 30 color: var(--point-color);
31 } 31 }
32 32
......
1 -const express = require('express'); 1 +const express = require("express");
2 -const path = require('path'); 2 +const path = require("path");
3 -const request = require('request'); 3 +const request = require("request");
4 -
5 4
6 const app = express(); 5 const app = express();
7 6
8 -app.use(express.static(path.join(__dirname,'kakao'))); 7 +app.use(express.static(path.join(__dirname, "kakao")));
9 - 8 +app.use(express.static(path.join(__dirname, "public")));
10 9
11 -app.listen(8080, function(req,res) { 10 +app.listen(8080, function (req, res) {
12 - console.log("server started at 8080"); 11 + console.log("server started at 8080");
13 }); 12 });
14 13
15 -app.get('/', function(req,res){ 14 +app.get("/", function (req, res) {
16 - res.sendFile(path.join(__dirname+"/main.html")); 15 + res.sendFile(path.join(__dirname + "/main.html"));
17 }); 16 });
18 17
19 -app.post('/geolocation', function(req,res){
20 - res.sendFile(path.join(__dirname+"/kakao/kakaomap.html"));
21 -});
...\ No newline at end of file ...\ No newline at end of file
18 +app.post("/geolocation", function (req, res) {
19 + res.sendFile(path.join(__dirname + "/kakao/kakaomap.html"));
20 +});
......