Building an idea using HTML CSS JS - Day 2

Building an idea using HTML CSS JS - Day 2

·

1 min read

Today's day 2 Goal is to get input from user:

what to do to get Input from user in html?

  1. Yes, the answer is use <input html element to get user input.

what to do to get Input type time from user in html?

  1. Yes, the answer is use type="time" attribute.

  2. The following code I used to give it an attributes

<input type="time" name="full_backup" id="a">

what to do to get button?

  1. Use input element with button attribute.
<input type="button" value="cal" size="1">

my code is vscode:

input html.png

Conclusion: Today on Day 2 on building an idea, I successfully completed to get user input in html.