Answers for "insert html block and dynamic content"

0

insert html block and dynamic content

document.getElementById("log-menu").innerHTML = `
            <a href="#"> 
               ${data.user.email}
            </a>
            <div class="dropdown-menu p-3 dropdown-menu-right">
                <div class="form-group">
                    <label for="email1">Logged in as:</label>
                    <p>${data.user.email}</p>
                </div>
                <button onClick="getLogout()" ">Sign out</button>
            </div>
    `
Posted by: Guest on May-02-2021

Code answers related to "insert html block and dynamic content"

Code answers related to "Javascript"

Browse Popular Code Answers by Language