You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.
Task
Create a HTML
task10.html
, that contains a form with:linear
,inverse
andlog
.Mark both input as required.
Use JavaScript to perform following operations
inverse
is selected and 0 is given in input, alert with "wrong input".log
is selected and non positive no is given in input, alert with "wrong input".x
,1/x
andlog(x)
forlinear
,inverse
andlog
functions respectively and show the result on web page.result
and show the json on web page (Use<pre>
tag for code block).Screenshots
Reference
Convert form data to json: https://stackabuse.com/convert-form-data-to-javascript-object
The text was updated successfully, but these errors were encountered: