Problem Statement:I would like to develop a web application to generate the schedule for the ship that will be coming to the port every 15 days. Starting date of the schedule is given, generate the schedule for the corresponding year. The carrier will function only in the week days, if the schedule falls on sat or sun then it should be moved to monday.
below code i have attempted just to get UI but need help to generate scheduler as per problem statement
Carrier Schedule Generator
<table> <tr> <td>Start date (MM/dd/yyyy)</td> <td> <input type="date" name="date" id="date"> <button type= "button" id="generate" onclick="myFunction()">Generate</button> </td> </tr> <tr> <td>Carrier schedule for the corresponding year (dd/MM/yyyy)</td> <td> <input type="textbox" rows="10" cols="10" id="scheduleDate" ></td> </tr> <tr> <td> <div id="result" name="result"></div> </td> </tr> </table>