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.

Skills: HTML5, Javascript, Programming

See more: create floor plan html5, javascript html5 floor plans, php javascript html5 create map, html5 canvas tile map, html5 word search game source code, javascript tile map editor, javascript game map, html5 tiles example, javascript tile map tutorial, random position javascript, javascript tile based game, css, html, bootstrap, psd to html, make simple submission form, make simple registration form html, make simple form pay pal, make simple floor plan autocad, create simple grid javascript

About the Employer:
( 1 review ) WARWICK, United States

Project ID: #14923981

Awarded to:


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
(79 Reviews)

6 freelancers are bidding on average $22 for this job

$10 USD in 0 days
(34 Reviews)

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 More

$10 USD in 1 day
(3 Reviews)

hi, i can help you with your project. send me more information about via chat. regards Habilidades y experiencia relevante linux php html5 boostrap jquery Stay tuned, I'm still working on this proposa More

$30 USD in 0 days
(2 Reviews)

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 More

$25 USD in 1 day
(0 Reviews)
$30 USD in 1 day
(0 Reviews)