import { getTextForModal } from './getTextForModal.js'; export const createModalElements = () => { const $modalMain = document.createElement('div'); $modalMain.id = 'trainingModalMain'; $modalMain.innerHTML = `

1/6

Title

Text

`; document.body.append($modalMain); };