HELP!!! Can anyone write this for me!?!?

This is for a liberal arts class i am taking and i have no clue how to do it..its a make or break type of situation, any ideas/suggestions. i am NOT a programmer.

Create a page containing five image tags, two buttons, a and a . The images tags will each contain a picture of one of six possible outcomes for the dice portraying the numbers one through six..

The first button: When the user clicks on the button, all dice are rolled once. For each die when rolled, the src of its image tag is replaced with a random one of six possible pictures -- each picture being chosen with equal probability (1/6).

The select: The user may select any of the numbers one through six. Whenever a picture is clicked upon, then that die takes on the value shown inside the .

The textarea: Results of the dice rolls should be kept as a running log (a cumulative history) in a textarea at the bottom of the page. With each roll (initiated by the click of the button), we should be able to see the complete history of all current and previous dice rolls. You need not consider changes brought about clicks on individual dice in conjunction with the

The second button: A button below the textarea, should allow the user to obtain a report (overwriting the current contents of the log in the textarea) which tabulates the frequency of each of the six outcomes plotted separately for each of the dice. The frequency tabulation should show how often each die was rolled, as consistent with the data stored in the log


  • edited January 2014

    `< html >
    < head >
    < /head >
    < body >



    [your select tag]

    < /body >
    < /html >`

    THis is an example. html, head, body are mandatory in any page. You can put the webpage elements(images, buttons, select tags,...) anywhere in the page, but to remain between the body tags. Every tag has a closing tag. Example:<html> -open tag, </html>-closing tag Image tag does not need ending tag < / img >

    Here are examples which you can edit and test online for each element you have to add to your page(click these links):

    select tag


    (if the image and your webpage, mywebpage.html are in the same folder/directory, you write display the image like this:
    <img src="my_image.jpg">;
    if the image in in another file, other than where the page is, you type the link to the image:
    <img src="project/my first page/images/my_image.jpg">: in this case, the image is in project/my first page/images/)

    HTML is a markup language, not a programming language. A programming language is functional. A markup language only displays something in a desired way.

    My friend who studied communications and public relation had to do 2 projects(1 in the 1st year, one in the 2nd) that were 2 simple webpages: only HTML, nothing functional inside.

    I suppose you guys, who are not in programming schools(programmers also study web design not only programming), learn these because if the company where you work has less profit one day, and cannot hire someone to make/edit their webpage, they ask their employees to make a simpler webpage but this way the company will still appear online, for advertising. If no advertise, no customers.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion