-
Notifications
You must be signed in to change notification settings - Fork 0
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
[39장] DOM - 2 #35
[39장] DOM - 2 #35
Conversation
혜수님 퀴즈<!DOCTYPE html>
<body>
<ul id = "JSStudy"></ul>
</body>
<script>
const $JSStudy = document.getElementById('JSStudy');
const $container = document.createDocumentFragment();
const people = ['건우','종현','영준','효리','승희','혜수','주연'];
people.map(name => {
const $li = document.createElement('li');
const textNode = document.createTextNode(name);
$li.appendChild(textNode);
$container.appendChild($li);
})
$JSStudy.appendChild($container);
</script>
</html> 건우님 퀴즈
종현님 퀴즈frong 주연님 퀴즈에러 발생 승희님 퀴즈
|
혜수님 문제const $container = document.createDocumentFragment(); 건우님 문제
영준님 문제
주연님 문제Exception 에러 승희님 문제
|
혜수님 퀴즈 const $container = document.createDocumentFragment(); 건우님 퀴즈
영준님 퀴즈
종현님 퀴즈 주연님 퀴즈 |
건우님
영준님
종현님frong, backdung 주연님에러 승희님(1) window.getComputedStyle($box,':before'); |
혜수님 퀴즈
건우님 퀴즈xo 영준님 퀴즈xoo 종현님 퀴즈frong 승희님 퀴즈
|
혜수님<!DOCTYPE html>
<body>
<ul id = "JSStudy"></ul>
</body>
<script>
const $JSStudy = document.getElementById('JSStudy');
const $container = document.createFragmentElement();
const people = ['건우','종현','영준','효리','승희','혜수','주연'];
people.map(name => {
const $li = document.createElement('li');
const textNode = document.createTextNode(name);
$li.appendChild(textNode);
$container.appendChild($li);
})
$JSStudy.appendChild($container);
</script>
</html> 영준님
종현님ai-backdung-frong 주연님
승희님(1): window.getComputedStyle($box, ':before') |
혜수님 퀴즈<!DOCTYPE html>
<body>
<ul id = "JSStudy"></ul>
</body>
<script>
const $JSStudy = document.getElementById('JSStudy');
const $fragment = document.createDocumentFragment()
const people = ['건우','종현','영준','효리','승희','혜수','주연'];
people.map(name => {
const $li = document.createElement('li');
const textNode = document.createTextNode(name);
$li.appendChild(textNode);
$fragment.appendChild($li);
})
$JSStudy.appendChild($fragment);
</script>
</html> 건우님 퀴즈
영준님 퀴즈
종현님 퀴즈frong 주연님 퀴즈짜장면 콜라 승희님 퀴즈(1) window.getComputedStyle($box, ':before') |
[39장] DOM - 2 #34
노션 링크
영준님 파일명에 포함된 공백으로 인해 clone 에러가 나서 이름을 변경할 수밖에 없었습니다 ..😅