Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gunsang 최종수정본 #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added likelion_hackton.zip
Binary file not shown.
106 changes: 106 additions & 0 deletions likelion_hackton/bankvideo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<!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">
<script src="https://kit.fontawesome.com/6e7455cbd0.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="videostyle.css">
<title>Document</title>
<style>


</style>
</head>

<body>
<navbar>
<div class="logo">
< edu plat>
</div>
<div class="back">
<a href="index.html">홈으로</a>
</div>
</navbar>
<section>
<div class="leftsection">
<div class="video">
<iframe width="800" height="450" src="https://www.youtube.com/embed/VeN0TJKuLAw"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
</div>
<div class="leftmiddle">
<p>계좌이체 앱 사용법(국민은행)</p>
<i class="fa-solid fa-star" onclick="star()"></i>
</div>
<div class="link">
<a href="https://youtu.be/VeN0TJKuLAw">https://youtu.be/VeN0TJKuLAw</a>
</div>
<div class="comment">
<input type="text" placeholder="댓글추가" class="commentinput">
<button class="check" onclick="comment()">확인</button>
<button class="cancle" onclick="commentcancle()">취소</button>
<ul class="commentul">

</ul>
</div>
</div>
<div class="rightsection">
<p>요약설명:</p>
<p>1:</p>
<p>2: </p>
<p>3: </p>
<p>4: </p>
<p>5: </p>
<p>6: </p>
<p>7: </p>
</div>
</section>
</body>
<script>
function star() {
const star = document.querySelector(".fa-star");
star.style.color = "rgb(244, 199, 65)";

}
function comment() {
let commentinp = document.querySelector(".commentinput");
let commentul1 = document.querySelector(".commentul");
let commentli = document.createElement("li");
let name = document.createElement("h6")
let gunsang = "이건상님의 댓글";

let x = document.createElement("i");
x.className = "fa-solid fa-xmark";
if (commentinp.value == " ") {
alert("입력칸이 비었습니다");
}
else if (commentinp.value == "") {
alert("입력칸이 비었습니다");
}
else {
name.innertext = gunsang;
commentul1.appendChild(name);
commentli.innerText = commentinp.value;
commentul1.appendChild(commentli);
commentli.appendChild(x);

commentinp.value = "";
commentinp.focus();

}
x.onclick = function (e) {
let pnode = e.target.parentNode;
commentul1.removeChild(pnode);
}
}
function commentcancle() {
let commentinp = document.querySelector(".commentinput");
commentinp.value = " ";
commentinp.focus();
}
</script>

</html>
106 changes: 106 additions & 0 deletions likelion_hackton/busvideo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<!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">
<script src="https://kit.fontawesome.com/6e7455cbd0.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="videostyle.css">
<title>Document</title>
<style>


</style>
</head>

<body>
<navbar>
<div class="logo">
< edu plat>
</div>
<div class="back">
<a href="index.html">홈으로</a>
</div>
</navbar>
<section>
<div class="leftsection">
<div class="video">
<iframe width="800" height="450" src="https://www.youtube.com/embed/Sq5rP-M-N7E"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
</div>
<div class="leftmiddle">
<p>시내버스 앱 사용법</p>
<i class="fa-solid fa-star" onclick="star()"></i>
</div>
<div class="link">
<a href="https://youtu.be/Sq5rP-M-N7E">https://youtu.be/Sq5rP-M-N7E</a>
</div>
<div class="comment">
<input type="text" placeholder="댓글추가" class="commentinput">
<button class="check" onclick="comment()">확인</button>
<button class="cancle" onclick="commentcancle()">취소</button>
<ul class="commentul">

</ul>
</div>
</div>
<div class="rightsection">
<p>요약설명:</p>
<p>1:</p>
<p>2: </p>
<p>3: </p>
<p>4: </p>
<p>5: </p>
<p>6: </p>
<p>7: </p>
</div>
</section>
</body>
<script>
function star() {
const star = document.querySelector(".fa-star");
star.style.color = "rgb(244, 199, 65)";

}
function comment() {
let commentinp = document.querySelector(".commentinput");
let commentul1 = document.querySelector(".commentul");
let commentli = document.createElement("li");
let name = document.createElement("h6")
let gunsang = "이건상님의 댓글";

let x = document.createElement("i");
x.className = "fa-solid fa-xmark";
if (commentinp.value == " ") {
alert("입력칸이 비었습니다");
}
else if (commentinp.value == "") {
alert("입력칸이 비었습니다");
}
else {
name.innertext = gunsang;
commentul1.appendChild(name);
commentli.innerText = commentinp.value;
commentul1.appendChild(commentli);
commentli.appendChild(x);

commentinp.value = " ";
commentinp.focus();

}
x.onclick = function (e) {
let pnode = e.target.parentNode;
commentul1.removeChild(pnode);
}
}
function commentcancle() {
let commentinp = document.querySelector(".commentinput");
commentinp.value = "";
commentinp.focus();
}
</script>

</html>
106 changes: 106 additions & 0 deletions likelion_hackton/foodkeyowskvideo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<!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">
<script src="https://kit.fontawesome.com/6e7455cbd0.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="videostyle.css">
<title>Document</title>
<style>


</style>
</head>

<body>
<navbar>
<div class="logo">
< edu plat>
</div>
<div class="back">
<a href="index.html">홈으로</a>
</div>
</navbar>
<section>
<div class="leftsection">
<div class="video">
<iframe width="800" height="450" src="https://www.youtube.com/embed/2CStcCFDh5Q"
title="YouTube video player" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
allowfullscreen></iframe>
</div>
<div class="leftmiddle">
<p>음식집 키오스크 사용법</p>
<i class="fa-solid fa-star" onclick="star()"></i>
</div>
<div class="link">
<a href="https://youtu.be/2CStcCFDh5Q">https://youtu.be/2CStcCFDh5Q</a>
</div>
<div class="comment">
<input type="text" placeholder="댓글추가" class="commentinput">
<button class="check" onclick="comment()">확인</button>
<button class="cancle" onclick="commentcancle()">취소</button>
<ul class="commentul">

</ul>
</div>
</div>
<div class="rightsection">
<p>요약설명:</p>
<p>1:</p>
<p>2: </p>
<p>3: </p>
<p>4: </p>
<p>5: </p>
<p>6: </p>
<p>7: </p>
</div>
</section>
</body>
<script>
function star() {
const star = document.querySelector(".fa-star");
star.style.color = "rgb(244, 199, 65)";

}
function comment() {
let commentinp = document.querySelector(".commentinput");
let commentul1 = document.querySelector(".commentul");
let commentli = document.createElement("li");
let name = document.createElement("h6")
let gunsang = "이건상님의 댓글";

let x = document.createElement("i");
x.className = "fa-solid fa-xmark";
if (commentinp.value == " ") {
alert("입력칸이 비었습니다");
}
else if (commentinp.value == "") {
alert("입력칸이 비었습니다");
}
else {
name.innertext = gunsang;
commentul1.appendChild(name);
commentli.innerText = commentinp.value;
commentul1.appendChild(commentli);
commentli.appendChild(x);

commentinp.value = "";
commentinp.focus();

}
x.onclick = function (e) {
let pnode = e.target.parentNode;
commentul1.removeChild(pnode);
}
}
function commentcancle() {
let commentinp = document.querySelector(".commentinput");
commentinp.value = " ";
commentinp.focus();
}
</script>

</html>
Loading