Javascript Help

profilerlhintgrr

Inline and Block

Study the HTML, CSS and JavaScript code in Listings 2.2, 2.2.1, and 2.2.2 in your textbook.  

Note:  You will need this information to complete your homework.

In the HTML Code add two more buttons that will allow the user to view the code in the target division to be viewed as inline and block.

You will need to create CSS code for allowing inline and block display options.

Here is the inline and block CSS code:

.inline{

display: inline;

}

 

.block {

display: block;

}

You will need to create two more JavaScript functions for the inline and block.

    • 7 years ago
    • 5
    Answer(1)

    Purchase the answer to view it

    blurred-text
    • attachment
      javascript1.zip
    Bids(1)