DEV Community

Discussion on: Join Our First Community Challenge: The Frontend Challenge

Collapse
 
thomasbnt profile image
Thomas Bnt ☕

Hello! Question about the Glam Up My Markup, can we create a ephemeral element in the DOM? It's only for a confirmation message when we puuush the submit button.

Collapse
 
ben profile image
Ben Halpern

Yes, so to be clear your own JavaScript can manipulate the HTML in any way that helps achieve the outcome of the task as though you were handed the HTML and don't have any control over it outside of JS.

You should not change the copy in the markup you're given, as though it was handed to you by a different product team and it's not your job to change the intent of the code, but you have a lot of flexibility otherwise.

So the answer is yes you may with an emphasis on keeping within the spirit of the prompt. We'll look into further clarifying the language to help here.

Collapse
 
thomasbnt profile image
Thomas Bnt ☕

Awesome, thanks Ben for this clarification!