Skip to content
Snippets Groups Projects
Commit 115e16b0 authored by Eliott Collin's avatar Eliott Collin
Browse files

insertion hmtl

D fini
parent 6cac1fab
No related branches found
No related tags found
No related merge requests found
const what = 'door';
debugger;
console.log('Hold', 'the', what);
\ No newline at end of file
const name = "Regina",
url = `images/${name.toLowerCase()}.jpg`,
html =
`<article class="pizzaThumbnail">
<a href="${url}">
<img src="${url}" alt="${name}"/>
<section>${name}</section>
</a>
</article>`;
console.log(html);
document.querySelector('.pageContent').innerHTML = html;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment