Find Jobs
Hire Freelancers

Make a random generated grid with Javascript and HTML5

$10-30 USD

Completed
Posted over 6 years ago

$10-30 USD

Paid on delivery
Create a form with a textbox and a button. The textbox will hold a number that will represent the number of rows and columns in a table. Once the submit button is clicked you will generate a two dimensional array with each of the elements of the array holding a random number between 1 and 100. You can convert the text box string value to a number using the parseInt() function. Use the following function in your code to create the random number: function randomNumber (min, max) { return [login to view URL] ([login to view URL]() * (max - min + 1)) + min; } After creating the array you will loop through it and the number is a multiple of 3, display the cell with a red background color; if not a multiple of 3 but a multiple of 2, display the cell with a blue background color. Finally, display the average for all cells. See example image.
Project ID: 14923981

About the project

6 proposals
Remote project
Active 7 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
Hi there. I can create your random grid generator like in your example with html-js within a couple of hours. Thanks Relevant Skills and Experience Javascript Proposed Milestones $25 USD - Final
$25 USD in 1 day
4.9 (79 reviews)
5.3
5.3
6 freelancers are bidding on average $22 USD for this job
User Avatar
hi, i can help you with your project. send me more information about via freelancer.com chat. regards Habilidades y experiencia relevante linux php html5 boostrap jquery Stay tuned, I'm still working on this proposal.
$30 USD in 0 day
4.7 (2 reviews)
1.9
1.9
User Avatar
Hello! I'm am experienced programmer with great knowledge in JavaScript and web development in general, so I'm sure I can create the generator you need with great quality and in a very short time. Please contact me if interested. Thank you!
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
WARWICK, United States
5.0
1
Payment method verified
Member since Aug 13, 2017

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.