diff --git a/blocks/forms/forms.js b/blocks/forms/forms.js index bbdaa7d..fa376da 100644 --- a/blocks/forms/forms.js +++ b/blocks/forms/forms.js @@ -2,7 +2,7 @@ import { createOptimizedPicture } from '../../scripts/lib-franklin.js'; export default function decorate(block) { console.log(block); - const element = createElement('div'); + const element = document.createElement('div'); element.innerHTML = ` `; + block.append(element); // const ul = document.createElement('ul'); // [...block.children].forEach((row) => { // const li = document.createElement('li');