VinithaNarayanan2020 / Myproject

0 stars 0 forks source link

Document Query Selectors inside Web components. #2

Open KarthikaRamachandran opened 1 week ago

KarthikaRamachandran commented 1 week ago

Line number: 274 is not needed. We have to use the element only for pasting the sub HTML elements.

const side = document.querySelector(".sidebar");

Similarly in line number 322 too

VinithaNarayanan2020 commented 1 week ago

fixed. used the connectedcallback() and render () method