Question: JavaScript and jQuery 3. Create an HTML document with one input text box. Write a javaScript function to change the background color, the font, fontsize
JavaScript and jQuery
3. Create an HTML document with one input text box. Write a javaScript function to change the background color, the font, fontsize and add a border of the textbox. Create a button in the HTML body to invoke the function.
4. Write an HTML file to display a text box where you enter text and add it to a list (you can use a or other element to which you can add items). You can keep adding to the list as many items as you want. Create two functions using jquery, one called addItemToList to add the items to the list and a second called changeStyle which changes the border of the text box to dashed blue and the background color to aqua. Call the functions using buttons.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
