Find Jobs
Hire Freelancers

I would like to hire a Javascript Developer

$10-30 USD

Terminado
Publicado hace más de 7 años

$10-30 USD

Pagado a la entrega
Create 3 JavaScript functions that do the following. a.) A function that takes in 0 arguments and returns nothing. It should write out "Fun times!" styled in red. b.) A function that takes in 1 argument and returns nothing. The one arguments should be a message. It should write the message out in red. c.) A function that takes in 2 arguments and returning a string. The two arguments are a message and a color. The function should return a HTML DIV with the message styled as the given color. Call these three functions with sample arguments in your code. They should all display something to the screen Submit a file called funtimes.html. Write a function named genNumTable that takes in one argument, the positive number 20. The genNumTable function should return the HTML needed for a HTML table. The values inside the table cells should be numbers, starting with the number passed “20” in and decrementing by one every table cell. The rows of the table should not be larger than 6 cells long. Create blank cells by using a non-breaking space inside a table cell. EXAMPLEgenNumTable(13)would return the HTML for a table that would have its cells laid out as follows. 13 12 11 10 9 8 7 6 5 4 3 2 1 Call the function within a webpage and display the results of the function call in the web browser. Clarifing: PART 1 - Write the function by building a string of HTML and returning it. Call this function genNumTable1. Make sure the page displays the results of the function call. PART 2 - Write the function by creating a DOM Node for the Table, along with its children, and returning it. Call this function genNumTable2. Make sure the table appears in the web browser. Morfunctions.html. Last a simple form looking like a Tic Tac Toe game. Using a two dimensional array, write the JavaScript needed to begin a tic tac toe game. You should have two functions for this script. generateBoard() When called should create a tic tac toe board (2D array) and return it. The second function displayBoard(board) should take in as a parameter a tic tac toe board (the array created by generateBoard()) and return the HTML needed for an attractive representation for the state of the game board. The representation should have lines separating the tic tac toe cells and display xs and os where appropriate. In your web page, callgenerateBoard() to create a game board, populate the array returned with some Xs and Os and then call displayBoard and display the resulting HTML to the web browser. You can either implement this by [login to view URL] HTML or by manipulating the DOM. Submit a file called tictactoe.html.
ID del proyecto: 11719127

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I’m glad to see this project here as it perfectly match with my areas of expertise. So if you need good quality work asap than you can hire me. Now we can move forward to more details. I always do care of requirements , meeting deadlines and can start your job right now.
$35 USD en 1 día
5,0 (11 comentarios)
3,6
3,6

Sobre este cliente

Bandera de UNITED STATES
Aurora, United States
5,0
1
Forma de pago verificada
Miembro desde oct 6, 2016

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.