CSCI375 Assignment-2
Part1:
Note: Name the HTML file by your name
Create an html file with the following javascript constant and array variables:
array daysInMonth of values (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31)
Use JavaScript to create the following page XXXXXXXXXX XX a XXXXX heading X XXX a table
The table cells XXX dynamically XXXXXXX using XXXXXXXXXXXXX loops and XXX array variables given aboveXXX table's border is XXX to "X" XXX XXX cellpadding XX XXX to "X" XX make XXX cells XXXXX outUse XXXXXXXXXXX() XXXXXX to convert XXX XXXXX names to upper XXXX
Images Not Shown
Part 2: XXXXX functions in a XXX page
XXX an XXXXX textbox XXX a button to allow the user XX enter a XXXXXXX length XXXXXX XXX XX find the month XXXXX XXXXXX XXXX number XX days
Images Not Shown
XXXXX aXXXXXXXX namedXXXXXXXXX
-
The function XXXX XXX XXX XXXXX written in the textbox
-
Your function XXXXXX XXX anif XXXXXXXXX inside a XXXX to XXXXXXXXXXX XXXXXXXXX XXX XXXXXX that XXXXX XXX desired length
-
XXXX XXXXXXXXX XXXXXX create a XXXXXX XXXXXXXXXX list of XXXXX XXXXX XX an XXXX unordered list with XXXXX
-
The result XXXX be inside the innerHtml of a div below the XXXXXXX XXX buttonXXXX your function XXXXXXX of XXX button
Images Not Shown
XXXXXXXXXX XXXXXXXXXX:
This XXXXXXXXXX will XX XXXXXX.This assignment is XXXXXX onMonday, 01st XX June XXX is dueby the XXXXXXXXX onXXXXXX Xth XX XXXX 2020 (XXXXXX XXXXXXXX).XXXXXXXXX you XXXX get a XXXX.XXX policy of XXXXXXXX XX -XX points.XXXXXX send your solution (the .html file only) XXXXX XXXXXX classroom.
XXXXXXXX:
<body&XX;
&XX;XX&XX;Days in a Month</XX&XX;
<button XXXX="button" onclick="myFunction()"&XX;XXX&XX;/XXXXXX&XX;&XX;XX&XX;
</XX>
var daysInMonth=[XX,28,31,XX,XX,XX,31,XX,XX,XX,30,XX]
XXX obj = {};
</XXXXXX&XX;
Images Not ShownImages Not Shown
">