<div id="root">
<div class="count">10</div>
<button>plus</button>
<button>minus</button>
</div>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import Count from './Counter.svelte'; | |
</script> | |
<h1>hello svelte</h1> | |
<Count /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"a":1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const modalClass = 'modal'; | |
const modalBodyClass = 'modal-body'; | |
const modalCloseClass = 'modal-close'; | |
const modalContentClass = 'modal-content'; | |
function closeModal() { | |
const $modal = document.querySelector(`.${modalClass}`); | |
$modal.removeEventListener('click', closeModal); | |
document.removeEventListener('keydown', closeModal); | |
$modal.remove(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"en": "I have breakfast sometimes", | |
"ko": "나는 때때로 아침 식사를한다" | |
}, | |
{ | |
"en": "I go to office", | |
"ko": "나는 사무실에 간다" | |
}, | |
{ |
<form>
id <input type="text" name="id">
pw <input type="text" name="pw">
<button type="submit">로그인</button>
</form>
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, | |
.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle, | |
.react-datepicker__year-read-view--down-arrow, | |
.react-datepicker__month-read-view--down-arrow, | |
.react-datepicker__month-year-read-view--down-arrow { | |
margin-left: -8px; | |
position: absolute; | |
} | |
.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle, |
1boon서비스의 JSON API를 이용해서 간단한 1boon 서비스 만들기
- 기본 마크업에서 시작
- 크롬 확장프로그램 JSON Formatter 설치
NewerOlder