2 small JS features
- or -
Post a project like this1814
€10(approx. $11)
- Posted:
- Proposals: 4
- Remote
- #2356179
- Awarded
Description
Experience Level: Entry
Estimated project duration: 1 day or less
Hello,
I would like a file with the name "helper.html" (so I can open it directly with my browser without wamp) with these features :
1/ An input field with 2 parameters : x.y (x is a number between 1 and 2000 | y is a number between 2 and 10 | the point is the separator)
And I want automatically (without a button) a calculation when my field is full like this :
x/y with y :
y = 2 => x / 20
y = 3 = > x / 38
y = 4 => x / 50
y = 5 = x / 62
y = 6 => x / 74
y = 8 => x / 100
y = 10 = > x / 124
eg.
> when I type 380.3 = 10
> when I type 1500.8 = 15
bonus :
> If it's possible : when I type 200 = 10 and not 200.2 = 10 (only for the first value of y)
2/ A number refreshing every 10 seconds between 0 and 100 (or refreshing when I click on it)
(the automatic refresh musn't disturb the feature one if I typing on it)
Thanks
ps : please send an offer only if you agree with my price, or send an offer with your new price.
I would like a file with the name "helper.html" (so I can open it directly with my browser without wamp) with these features :
1/ An input field with 2 parameters : x.y (x is a number between 1 and 2000 | y is a number between 2 and 10 | the point is the separator)
And I want automatically (without a button) a calculation when my field is full like this :
x/y with y :
y = 2 => x / 20
y = 3 = > x / 38
y = 4 => x / 50
y = 5 = x / 62
y = 6 => x / 74
y = 8 => x / 100
y = 10 = > x / 124
eg.
> when I type 380.3 = 10
> when I type 1500.8 = 15
bonus :
> If it's possible : when I type 200 = 10 and not 200.2 = 10 (only for the first value of y)
2/ A number refreshing every 10 seconds between 0 and 100 (or refreshing when I click on it)
(the automatic refresh musn't disturb the feature one if I typing on it)
Thanks
ps : please send an offer only if you agree with my price, or send an offer with your new price.
Ian B.
100% (7)Projects Completed
6
Freelancers worked with
3
Projects awarded
50%
Last project
19 Aug 2023
France
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies