https://github.com/saurabh221402/TO-DO-LIST_-JS04-.git readme file for JS04 project in which we are going to create a to-do-list web app.
points we learn in this projects are:-
-
let a= window.getComputedStyle(elmentname, psedoelement); this method is use to select psedoelement of css(ex: after,before etc) and perform operation using javascript
-
node.classList.toogle("classname"); this js method is use to toogle a class within a element
-
.class::before { background-color: var(--variable,white); } node=document.getelementByclassname('class') node.style.setProperty('--variable','blue'); this method is also use to manipulate the value of psedoelement
-
node.parentElement.remove() this method is used to remove the element with it parent element