6. Consider the following example: var start_time = (day == weekend) ? 12 : 9; Rewrite the conditional statement using an if/else construct.
Complete chapter 6 exercise 6. Save this page as chapt6ex6.html in your week 4 folder.
Note: Add a prompt function to assign a value to var start_time. Alert if the start time is day, weekend or neither.
Back to Assignment Web Page.