Question

Generate dynamic html css layout

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.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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