I would like to have the airbnb react-dates SingleDatePicker or DateRangePicker appear on my html page. What do I need to add to my html page to get this to function correctly? Which files do I need from the airbnb react-dates?
I am a designer with basic html and css knowledge and in the last few days, I went from zero percent javascript knowledge and never hearing of react, to learning about the basics and installing node.js/npm, using terminal for my first time ever, connecting to the server and being so close, but I still do not understand.
I just want to add a simple datepicker, something I can do in html/css/js in a few minutes, but this react thing is extremely confusing to me. Do I need to run the commands in terminal or can I just add some code to my html, with the airbnb react-dates files? I have tried many dozens of recommendations, asked questions on here and other sites, all without any success. Thank you for your help!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Please help me with airbnb react-dates!</title>
</head>
<body>
<div id="root">
I would like to have the <a href="https://github.com/airbnb/react-dates/">airbnb react-dates</a> SingleDatePicker or DateRangePicker here.
</div>
</body>
</html>
Note: I am only including the html, because I do not know the other scripts needed from the airbnb react-dates link to get this to work.