Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- original set
- Python
- 댓글지우기
- API명세
- 개인페이지
- 와이어프레임
- 댓글쓰기
- Django
- 다항 논리 회귀
- python to json
- ERD
- serializer
- 머신러닝
- 팔로우 기능 에러
- 백엔드
- docker
- 북마크한 목록 가져오기
- 비밀번호 수정
- 팀프로젝트 기획
- 프로필사진 업로드
- CNN
- 장고
- 딥러닝
- js
- 프론트엔드
- 이진 논리 회귀
- DRF
- class view
- test.py
- json to db
Archives
- Today
- Total
코딩 개발일지
TIL 2일차 본문
오늘 만든 웹페이지 (front end)
git hub에 올려서 팀원들과 공유해서 기능추가 중,,,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" />
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<title>1조 - 살쾡이들</title>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@200;300;400;500;600;700;900&display=swap"
rel="stylesheet" />
<style>
* {
font-family: "Noto Serif KR", serif;
}
.mypost {
width: 800px;
height: 1100px;
margin: 100px auto 20px auto;
box-shadow: 0px 0px 3px 0px black;
padding: 20px;
padding-top: 100px;
background-color: rgb(147, 142, 189);
position: sticky;
}
.mycards {
width: 95%;
max-width: 800px;
margin: auto;
}
.mycards>.card {
margin-top: 20px;
margin-bottom: 20px;
background-color: #fafafa;
}
button {
float: right;
margin-top: 10px;
}
.sidebar {
background: #fff;
width: 15%;
height: 100vh;
position: fixed;
top: 0;
padding-left: 5%;
padding-top: 25%;
font-size: 30px;
}
.shortcut-links a img {
width: 70px;
margin-right: 20px;
}
.shortcut-links a {
display: flex;
align-items: center;
margin-bottom: 20px;
width: fit-content;
flex-wrap: wrap;
text-decoration-line: none;
}
.subscribed-list h3 {
margin: 20px 0;
color: #5a5a5a;
}
.subscribed-list a {
display: flex;
align-items: center;
margin-bottom: 20px;
width: fit-content;
flex-wrap: wrap;
}
.subscribed-list a img {
width: 25px;
border-radius: 50%;
margin-right: 20px;
}
.playlist {
font-size: 25px;
margin-left: 30px;
color:floralwhite;
}
</style>
<script>
$(document).ready(function () {
set_temp();
show_comment();
});
function set_temp() {
fetch("http://spartacodingclub.shop/sparta_api/weather/seoul").then((res) => res.json()).then((data) => {
console.log(data)
});
}
function save_comment() {
let formData = new FormData();
formData.append("sample_give", "샘플데이터");
fetch('/guestbook', { method: "POST", body: formData, }).then((res) => res.json()).then((data) => {
//console.log(data)
alert(data["msg"]);
});
}
function show_comment() {
fetch('/guestbook').then((res) => res.json()).then((data) => {
alert(data["msg"])
})
}
</script>
</head>
<body>
<div class="mypost">
<div class="playlist">Play list</div>
<div class="mycards" id="comment-list">
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<button type="button" onclick="location.href='index_이기호.html'"class="btn btn-light">▶️</button>
<p>이기호</p>
<footer class="blockquote-footer">조장</footer>
</blockquote>
</div>
</div>
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<button type="button" onclick="location.href='index_이솔.html'"class="btn btn-light">▶️</button>
<p>이솔</p>
<footer class="blockquote-footer">조장</footer>
</blockquote>
</div>
</div><div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<button type="button" onclick="location.href='index_김정규.html'"class="btn btn-light">▶️</button>
<p>김정규</p>
<footer class="blockquote-footer">조장</footer>
</blockquote>
</div>
</div><div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<button type="button" onclick="location.href='index_이제욱.html'"class="btn btn-light">▶️</button>
<p>이제욱</p>
<footer class="blockquote-footer">조장</footer>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>
아직 다 못해서 더 해야할 것 같다.