By ankush405
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.
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.