JavaScript Taskbook Level 5.1
There are two inputs, a paragraph and a button. Numbers are entered into the inputs. When you click the button, output the sum of these numbers into the paragraph.
Given a paragraph with a number and a button. By clicking on the button, square the paragraph text.
Given paragraphs with numbers, a paragraph and a button. By pressing the button, find the sum of the values of the paragraphs and write it in the paragraph.
Given paragraphs with numbers. Make it so that when you click on any paragraph, its value is squared.
Given inputs into which numbers are entered. Make it so that when focus is lost in any input, its value is squared.