CalendarTutorials

How to create a check-in check-out calendar

How to create a check-in check-out calendar

How to create a check-in check-out calendar

Before We Start

Every developer needs clean and modern elements to develop their websites, It contains pictures and a user interface element within a website. The most important one and the first section that the user sees when the user enters a website. How to create a check-in check-out calendar

So if you are a person who wishes to develop a website, you have to know how to create that properly.

How to create a check-in check-out calendar

We are here to solve your problem. In this article we discuss how to create these elements. Before we start please read the below articles which easier you to understand the process, if you are new to development.

Step 1 – Add HTML

It’s too easy and simple. Just copy and paste below code in your HTML editor between <body> </body> tag.

<nav class="navbar navbar-inverse navbar-fixed-top hidden-print" role="navigation">

</nav>
<div class="container">
  <div class="col-xs-6 text-center active">
    <div>Check-in</div>
    <h1>10<sup>th</sup></h1>
    <div>February 2020</div>
  </div>
  <div class="col-xs-6 text-center">
    <div>Check-out</div>
    <h1>15<sup>th</sup></h1>
    <div>February 2020</div>
  </div>
  <div class="panel panel-default">
    <div class="panel-content">
      <div class="daysOfWeek">
        <div>M</div>
        <div>T</div>
        <div>W</div>
        <div>T</div>
        <div>F</div>
        <div>S</div>
        <div>S</div>
      </div>
      <div class="calendar">
        <ol class="years">
          <li class="year">
            <ol class="months">
              <li class="month">
                <h1>Febuary 2020</h1>
                <ol class="days">
                  <li class="day"></li>
                  <li class="day"><a href="">3</a></li>
                  <li class="day"><a href="">4</a></li>
                  <li class="day"><a href="">5</a></li>
                  <li class="day"><a href="">6</a></li>
                  <li class="day"><a href="">7</a></li>
                  <li class="day"><a href="">8</a></li>
                  <li class="day"><a href="">9</a></li>
                  <li class="day"><a href="">10</a></li>
                  <li class="day"><a href="">11</a></li>
                  <li class="day"><a href="">12</a></li>
                  <li class="day"><a href="">13</a></li>
                  <li class="day"><a href="">14</a></li>
                  <li class="day"><a href="">15</a></li>
                  <li class="day"><a href="">16</a></li>
                  <li class="day"><a href="">17</a></li>
                  <li class="day"><a href="">18</a></li>
                  <li class="day"><a href="">19</a></li>
                  <li class="day"><a href="">20</a></li>
                  <li class="day"><a href="">21</a></li>
                  <li class="day"><a href="">22</a></li>
                  <li class="day"><a href="">23</a></li>
                  <li class="day"><a href="">24</a></li>
                  <li class="day"><a href="">25</a></li>
                  <li class="day"><a href="">26</a></li>
                  <li class="day"><a href="">27</a></li>
                  <li class="day"><a href="">28</a></li>
                  <li class="day"><a href="">29</a></li>
                  <li class="day"><a href="">30</a></li>
                  <li class="day"><a href="">31</a></li>
                </ol>
              </li>
              <li class="month">
                <h1>March 2020</h1>
                <ol class="days">
                  <li class="day"></li>
                  <li class="day"></li>
                  <li class="day"><a href="">1</a></li>
                  <li class="day"><a href="">2</a></li>
                  <li class="day"><a href="">3</a></li>
                  <li class="day"><a href="">4</a></li>
                  <li class="day"><a href="">5</a></li>
                  <li class="day"><a href="">6</a></li>
                  <li class="day"><a href="">7</a></li>
                  <li class="day"><a href="">8</a></li>
                  <li class="day"><a href="">9</a></li>
                  <li class="day"><a href="">10</a></li>
                  <li class="day"><a href="">11</a></li>
                  <li class="day"><a href="">12</a></li>
                  <li class="day"><a href="">13</a></li>
                  <li class="day"><a href="">14</a></li>
                  <li class="day"><a href="">15</a></li>
                  <li class="day"><a href="">16</a></li>
                  <li class="day"><a href="">17</a></li>
                  <li class="day"><a href="">18</a></li>
                  <li class="day"><a href="">19</a></li>
                  <li class="day"><a href="">20</a></li>
                  <li class="day"><a href="">21</a></li>
                  <li class="day"><a href="">22</a></li>
                  <li class="day"><a href="">23</a></li>
                  <li class="day"><a href="">24</a></li>
                  <li class="day"><a href="">25</a></li>
                  <li class="day"><a href="">26</a></li>
                  <li class="day"><a href="">27</a></li>
                  <li class="day"><a href="">28</a></li>
                  <li class="day"><a href="">29</a></li>
                  <li class="day"><a href="">30</a></li>
                  <li class="day"><a href="">31</a></li>
                </ol>
              </li>
              <!--                <br>
                <div class="text-center">
                    <a href="" class="btn text-center btn-default">show more</a>
                </div>-->
            </ol>
          </li>
        </ol>
      </div>
    </div>
  </div>
</div>

Step 2 – Add CSS

We use some external CSS link to this code. No need to worry about this, copy and paste below code between <style></style> tag.

<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
</head>

Copy and paste below code in your HTML editor between <style></style> tag.

<style>
@font-face {
  font-family: 'Yanone Kaffeesatz';
  font-style: normal;
  font-weight: 200;
  src: url(https://fonts.gstatic.com/s/yanonekaffeesatz/v15/3y9I6aknfjLm_3lMKjiMgmUUYBs04aUXNxt9gW2LIftodtWZd2GP.ttf) format('truetype');
}
@font-face {
  font-family: 'Yanone Kaffeesatz';
  font-style: normal;
  font-weight: 300;
  src: url(https://fonts.gstatic.com/s/yanonekaffeesatz/v15/3y9I6aknfjLm_3lMKjiMgmUUYBs04aUXNxt9gW2LIftoqNWZd2GP.ttf) format('truetype');
}
@font-face {
  font-family: 'Yanone Kaffeesatz';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/yanonekaffeesatz/v15/3y9I6aknfjLm_3lMKjiMgmUUYBs04aUXNxt9gW2LIfto9tWZd2GP.ttf) format('truetype');
}
* {
  box-sizing: border-box;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background: #22c2c3;
  background: linear-gradient(0deg, #22c2c3 0%, #2dfd61 100%);
  padding-top: 65px;
}
h1,
h2 {
  /*  font-family: 'Yanone Kaffeesatz', sans-serif;
  font-weight:200;*/
  font-weight: 300;
  text-align: center;
  margin: 0;
  padding: 1em 0;
  font-size: 1.2em;
}
a {
  color: #0099db;
  text-decoration: none;
}
ol,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.panel-default {
  border: solid 1px #b1b1b1;
  border-top: 0;
  margin: 0px;
  border-radius: 0;
  clear: both;
  position: absolute;
  top: 181px;
  bottom: 0;
  left: 15px;
  right: 15px;
}
.month {
  padding: 0 15px;
}
.calendar {
  overflow-y: scroll;
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 0;
  right: 0;
}
.days {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
}
.daysOfWeek {
  border-bottom: solid 1px #eee;
  background: #fff;
  padding: 1em 0;
  display: block;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  z-index: 1000;
  position: relative;
}
.day,
.daysOfWeek div {
  width: 14.28571429%;
  text-align: center;
}
.day a,
.daysOfWeek div a {
  border: solid 1px #eeeeee;
  display: block;
  font-size: 1em;
  height: 44px;
  line-height: 44px;
  background: #ffffff;
  text-decoration: none;
}
.col-xs-6.active {
  background: #fff;
  padding: 1em 0;
  border: 1px solid #b1b1b1;
  border-bottom: 1px solid #fff;
}
.col-xs-6 {
  background: #eee;
  padding: 1em 0;
  border: 1px solid #b1b1b1;
  border-left: 0;
}
.col-xs-6:first-of-type {
  border-radius: 3px 0 0 0;
}
.col-xs-6:nth-of-type(2) {
  border-radius: 0 3px 0 0;
}
.col-xs-6 h1 {
  font-size: 3em;
  padding: 0;
}
.col-xs-6 h1 sup {
  font-size: 0.5em;
  position: relative;
  top: -16px;
}
.navbar {
  background: #264c7a;
  height: 44px;
  text-align: center;
  margin-bottom: 1em;
  border: 0;
}
.navbar a {
  background: url("https://www.holidayextras.co.uk/images/hx-bootstrap/holiday-extras-logo.png") no-repeat;
  background-size: 110px auto;
  display: block !important;
  margin: 0px auto !important;
  float: none !important;
  text-indent: -10000px;
  width: 110px;
  height: 60px;
}

</style>

At the end we will have something like this. You can change fonts, colors, backgrounds and all things that you want. Enjoy it.

Your Output

How to create a check-in check-out calendar

Video Tutorial

Please watch this video to better understand this tutorial and don’t forget to subscribe to our channel.


Help others to find out about this article on Social Media sites. If you have any doubt or any problem, don’t hesitate to contact us. Thereafter we will be able to help you and also make sure you bookmark our site on your browser.

Related Articles

Leave a Reply

Your email address will not be published.

Back to top button