i have created a simple generator for my personal uses and everything's going well except my checkbox, I want it when i fill up everything and press generate also if the checkbox is checked it puts a tag to front and last example:
I couldn't find any solution for my issue since i couldn't explain it well so here i'm asking you guys
This is my demo:
<http://jsfiddle.net/z4yuqk5e/>
I want it like: when i press "Generate" and if "Bold" is checked, i want it to generate the text with bold tag