[무료특강] 스파르타 코딩클럽_추억소환 코딩 패키지
2022.05.31.TUE
🎊가정의 달 무료 특강 이벤트(~5/31)✨
https://sparta-2022family.oopy.io/
<!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">
<title>coolkid</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap" rel="stylesheet">
<style>
* {
font-family: 'Noto Sans KR', sans-serif;
}
.title {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 30px;
}
.btn {
width: 300px;
height: 40px;
border: 2px solid #283442;
text-decoration: none;
text-align: center;
line-height: 40px;
color: darkgreen;
font-weight: bold;
border-radius: 40px;
}
.btn:hover {
background: #283442;
color: bisque;
}
.box {
width: 1000px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 40px auto 0 auto;
}
.map {
width: 500px;
height: 500px;
margin-right: 30px;
border-radius: 24px;
background: #283442;
}
.story {
width: 450px;
height: 500px;
}
.image {
width: 450px;
height: 300px;
background-image: url('image.jpg');
background-position: center;
background-size: cover;
border-radius: 24px;
}
.story>h2 {
margin: 20px 0 0 0;
color: darkolivegreen;
}
.story>h3 {
margin: 5px 0 0 0;
font-size: 16px;
color: #283442;
font-weight: normal;
}
.story>p {
line-height: 24px;
}
@media screen and (max-width: 640px) {
.h1 {
font-size: 26px;
}
.box {
flex-direction: column;
width: 100%;
}
.map {
width: 100%;
height: 200px;
margin: 0;
}
.story {
width: 100%;
height: auto;
margin-top: 10px;
margin-bottom: 10px;
}
.image {
width: 100%;
height: 200px;
}
}
</style>
</head>
<body>
<div class="title">
<h1>코딩광야</h1>
<a class="btn" href="http://spartacodingclub.shop/free/202105/exhibition">모든 수강생들의 추억 보러가기 ></a>
</div>
<div class="box">
<div class="map" id="map"></div>
<div class="story">
<div class="image"></div>
<h2>cool kid</h2>
<h3>경기 성남시 분당구 정자일로 95</h3>
<p>암어쌔비지<br> 코딩쌔벼줄게!<br><br><br>코딩 : 수치를 느끼게 멘탈을 흔들어줄게</p>
</div>
</div>
<script type="text/javascript"
src="https://dapi.kakao.com/v2/maps/sdk.js?appkey=535068688f1a8bca1c21a9445ede0a89"></script>
<script>
var markerPosition = new kakao.maps.LatLng(37.358848362877254, 127.10519051517443)
var mapContainer = document.getElementById('map'), // 지도를 표시할 div
mapOption = {
center: markerPosition, // 지도의 중심좌표
level: 3 // 지도의 확대 레벨
};
var map = new kakao.maps.Map(mapContainer, mapOption); // 지도를 생성합니다
var imageSrc = "https://s3.ap-northeast-2.amazonaws.com/materials.spartacodingclub.kr/2021_05_free_parents/sparta-marker.png";
var imageSize = new kakao.maps.Size(65, 86);
var markerImage = new kakao.maps.MarkerImage(imageSrc, imageSize);
var marker = new kakao.maps.Marker({
map: map,
position: markerPosition,
image: markerImage
});
</script>
</body>
</html>
<html / css>
https://family.spartacodingclub.kr/j9nhubq3c4femu45/index.html
결과물
후기
우연한 기회에 쉽고, 간략하면서 정리된 내용을 들을 수 있는 뜻깊은 시간이었다.
수업시간에 배운 거랑 겹치는 부분도 있었지만, 수업시간과는 다른 결과물을 만들어 볼 수 있어서 재미있었다.
코딩, 뭔가 알 거 같으면서 모르겠고~근데 또 새로운 무언가를 만들어내고, 직접 결과물을 보는 그 순간은 뿌듯하다!
무한한 코딩 그 너머를 내가 볼 수 있는 날이 있기를!!
'javascript' 카테고리의 다른 글
[ javascript] 02. 연산자_비교연산자 (0) | 2022.08.26 |
---|---|
[ javascript] 02. 연산자_논리연산자 (0) | 2022.08.26 |
[ javascript] 02. 연산자_대입연산자 (0) | 2022.07.31 |
[ javascript] 02. 연산자_산술연산자 (0) | 2022.07.31 |
[javascript] 00. DOM (0) | 2022.07.31 |