- Status Completed
- Budget $10 - $30 USD
- Total Bids 5
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
Call the function within a webpage and display the results of the function call in the web browser.
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.
Last a simple form looking like a Tic Tac Toe game.
You can either implement this by [url removed, login to view] HTML or by manipulating the DOM.
Submit a file called tictactoe.html.Get free quotes for a project like this
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online