Answers for "inject html via template tags js"

0

inject html via template tags js

const person = {
            name: 'Anthony Smith',
            job: 'JavaScript Developer',
            city: 'Los Angeles',
            bio: 'Anthony is a really cool guy that loves to teach web development!'
        }

        // And then create our markup:
        const markup = `
 <div class="person">
    <h2>
        ${person.name}
    </h2>
    <p class="location">${person.city}</p>
    <p class="bio">${person.bio}</p>
 </div>
`;
Posted by: Guest on August-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language