进行中

Make a random generated grid with Javascript and HTML5

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 [url removed, login to view] ([url removed, login to view]() * (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.

技能: HTML5, Javascript, 编程

查看更多: create floor plan html5, javascript html5 floor plans, make simple submission form, create simple grid javascript, random question quiz javascript, random select repeat javascript, create floor autocad, create floor plan, create floor plan cad

About the Employer:
( 0 reviews ) WARWICK, United States

项目ID: #14923981

已悬赏给:

emreg

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 在1天内
(79条评论)
5.3

6名威客为此工作的平均竞标价是$22

$10 USD 在0天内
(34条评论)
4.7
DreamyArslan

Hi there, we can talk over chat, if you are interested to check my professional portfolio I'll provide you in inbox. I assure you to complete my job in time, have a good experience. Relevant Skills and Experience Some 更多

$10USD 在1天里
(3条评论)
1.9
djcarras

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 proposa 更多

$30 USD 在0天内
(2条评论)
1.9
DanielMGC

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 更多

$25USD 在1天里
(0条评论)
0.0
$30USD 在1天里
(0条评论)
0.0