Datepickers, Dropdowns, and Host Card
Explore adding functional datepickers and dropdown menus to forms and learn to create a 'Become a Host' card with responsive columns in a Bootstrap 4 Airbnb clone. This lesson guides you through integrating UI components and improving styling for a cohesive web layout.
We'll cover the following...
We'll cover the following...
Make the changes
Here's a live code environment to try the changes suggested in the lesson.
Datepickers
There is an interesting website called Gijgo, that has a daterange picker example. We’ll use the example code and integrate it into our theme.
Here is the code we copied from the example.
Note that for the datepicker to work, we had to move the jQuery <script> up into the <head> tag. After these changes, our card now looks like this.
...