목록2021/09/23 (1)
Silver Library (Archived)
Call for a 'function' within a specific variable?
The core of this post is; how to call the function within the variable that has been already declared at the top. Note: JS interacts to HTML. It reads the HTML document, then gives some change to it. Hello, World! const greetingWord = document.querySelector(".world:first-child h2"); const wrapperTrigger = { // function functionName() { greetingWord.innerText = "example one to display" } function..
Personal DB/Mainly for Front-end
2021. 9. 23. 23:33