Two inline datepickers with range selection (start and end date)

Two inline datepickers with range selection (start and end date)


I'm quite beginner on javascript so I ask help from you.
How can I create the two inline datepickers and have range selection
between those? So basically combining the ideas behind the "another
data range" and "inline date picker". Thanks for your help