Question

Generate dynamic html css layout

Posted February 24, 2021 170 views
JavaScriptAngularHTML

I am working on a template generation service. I want the user to change the webpage layout, alignment, insert images, remove tags, and change styling. After all the changes the user can save that template which be rendered with dynamic data into it whenever and wherever used again. Please let me know the way to achieve this.
P.S:- I will use a standard template at the beginning which can be manipulated and saved.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi there,

What I could suggest here is first starting with the following tutorial series in order to understand the DOM:

https://www.digitalocean.com/community/tutorial_series/understanding-the-dom-document-object-model

After that, you could use that knowledge to manipulate the HTML document and change some CSS properties and classes.

I recently was working on a similar project called Tails that lets you generate pages using TailwindCSS and AlpineJS.

Regards,
Bobby