Em Andamento

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.

Habilidades: HTML5, Javascript, Programming

Ver mais: create floor plan html5, javascript html5 floor plans, php javascript html5 create map, make simple submission form, make simple registration form html, make simple form pay pal, make simple floor plan autocad, create simple grid javascript, use java code create sudoku, create simple program salary computation using basic turbo, create popup window enquiry form using ajax aspnet, use access 2007 create form letter, use floor plan using autocad, create floor plans using autocad 2007, use autocad create floor plan, retain values form use button using java, create comment board using javascript, simple floor plan using autocad, create simple java inventory program using arrays, random question quiz javascript, random select repeat javascript, create floor autocad, create floor plan, create online admission using php javascript html, create floor plan cad

Acerca do Empregador:
( 1 comentário ) WARWICK, United States

ID do Projeto: #14923981

Premiar a:

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 em 1 dia
(79 Avaliações)
5.3

6 freelancers estão ofertando em média $22 para este trabalho

$10 USD in 0 dias
(34 Comentários)
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 Mais

$10 USD em 1 dia
(3 Comentários)
1.9
djcarras

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

$30 USD in 0 dias
(2 Comentários)
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 Mais

$25 USD em 1 dia
(0 Comentários)
0.0
$30 USD em 1 dia
(0 Comentários)
0.0