Streaming live at 10am (PST)

Add element to div in code

Hi,

I have a button which when I press I want it to create new text blocks inside a div element via custom code

how can i do this


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

@Manhar_Bhojwani - you’ll either need to hide the text by default and reveal on click, something like this:

or with jQuery

Or you could add the elements to the page using jQuery as well, which works better if it needs to be more flexible:

Thanks Sam - this works well!