Elemen Anak JavaScript QuerySelector
let childElement = document.querySelector("parentSelector > *")
COoDiE Monsta
let childElement = document.querySelector("parentSelector > *")
// given html
<div class="parent">
<div class="child1">
<div class="child2">
</div>
</div>
</div>
// Get parent
let parent = document.querySelector('.parent');
// child element selector
parent.querySelector('.child')