Find Jobs
Hire Freelancers

Create a javascript function

$10-30 USD

Completed
Posted about 5 years ago

$10-30 USD

Paid on delivery
[login to view URL] Using the fiddle above make a javascript function that will 1) Check the current datetime 2) For all completed months in the current year set them to 10/10 3) For the current month : Take 48 modulo the current time (in military time) and set that as the number of positions (never exceeding 10) For the next month: Take 24 modulo the current time (in military time) and set that as the number of positions (never exceeding 10) For the next month: Take 12 modulo the current time (in military time) and set that as the number of positions (never exceeding 10) For the next month: Take 6 modulo the current time (in military time) and set that as the number of positions (never exceeding 10) For the next month: Take 3 modulo the current time (in military time) and set that as the number of positions (never exceeding 10) For example: It is currently February 6th at 18:54. The html should show January: 10/10 February: 6/10 March: 10/10 April: 6/10 May: 3/10 June: 2/10 July: 0/10 August: 0/10 September: 0/10 October: 0/10 November: 0/10 December: 0/10 It would be nice if there was an animation feature as it loaded the current positions.
Project ID: 18670319

About the project

7 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hey there i have seen your job post of yours and very interested to start work withyou i 'am expert ..i can make it 100%. Regards : Ghassen filali
$15 USD in 1 day
4.6 (7 reviews)
2.4
2.4
7 freelancers are bidding on average $21 USD for this job
User Avatar
Hi, I am ready to start now. I read through the job details carefully and I am absolutely sure that we can do the project very well. I have core expertise in CSS3, HTML5, Javascript, jQuery, PSD to HTML. Hope we will talk more so that I can discuss your project in detail. I have 5+ years of experience in this field. Let me know when you are available to discuss further. And when we can start work on the project I'm waiting for your reply.
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I have completed the given task in my own jsfiddle. I would love to share the code and do further business with you.
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I like Vanilla JS, I would like to start my freelancing with small and easy tasks and then go higher. If is OK to you I will deliver in 2 days to have time to test the code a lot.
$20 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
harrison twp, United States
5.0
28
Payment method verified
Member since Mar 1, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.