Question: Javascript practice A function that would be invoked when the Add element button is clicked. This function should prompt user to enter the type of

Javascript practice

A function that would be invoked when the Add element button is clicked.

This function should prompt user to enter the type of element he/she would like created then create the element with text nd append it as a child to the body of your document.

I have to apply an appropriate style of your choice to this newly created element (background color/border/font/color)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!