Selecting an element ID that was created in an innerHTML variable
How do I select the textfield element "member-name"? function revealPaywall (){ const paywall = document.getElementById(‘paywall’) const name = localStorage.getItem("value"); //TO WRITE MULTILINE HTML IN JS, USE BACKTICKS “ TO CREATE A TEMPLATE LITERAL if (localStorage.getItem("value") === null){ paywall.innerHTML = ` <h1>This Is An Example Of A Paywall<h1> <p>If you enter a name, it will be… Read More Selecting an element ID that was created in an innerHTML variable