BHCC JavaScript Class | Assignment

To complete his assignment, use the examples and explanations provided in Chapter 5 of the textbook as a guide - specifically about Conditional Operators.




(100%) You are required to create a dynamic program that allows users to create a basic personalized Web page. You will code the program and format the page so that when the user enters specific values in prompt boxes, the values in the prompt boxes will be displayed in the browser of a pre-formatted web page. Use the images below to guide your work:

Assignment Instructions

Create a webpage and structure it as follows:

  1. Width: 900px;

  2. Top row: Type and center these link labels - Youtube | Facebook | Twitter | BHCC

  3. Next, 2 middle columns: Left column to hold content; Right column (200px) for book display

  4. Bottom row: Type and center these link labels - My Profile | Contact Me | My Resume | My Gallery


2. Next, when the page loads, display an alert box similar to below image (use your own name - not John Doe):



3. Next, the user must be able to type any background color for the web page



4.Next, the user must be able to type a background color for the content area (inside your layout)

5. Next, the user must be able to type a background color for the header



6. Next, the user must be able to type (create) a link to their Youtube page

7. Next, the user must be able to type a (H3) page title in the left column of the content area

8. Next, the user must be able to insert the URL of their (portrait) picture



9. Next, the user must be able to type content (must be separated into 3 paragraphs)

10. Next, the user must be able to type a background color for the book (right side) column



11. Next, the user must be able to insert the URL of their favorite book inside the (right side) column

12. Next, the user must be able to type a description for their book (description must appear below the book)



13. Finally, the user must be able to type a background color for the footer

When the user has entered all their information (as above), they will be presented with a well-formed web page!!


Save all files appropriately and submit as usual.

Please let me know if your have any questions.

T. Banjo
Instructor