diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/coffee.css b/Assignments/CB.EN.U4CYS22015/ui/css/coffee.css new file mode 100644 index 00000000..4f859b2d --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/coffee.css @@ -0,0 +1,58 @@ +body { + font-family: Arial, sans-serif; + margin: 20px; + background: #555; +} + +button{ + padding: 10px; + background: rgb(147, 0, 0); + color: white; + border-radius: 5px; + width: 120px; + transition: 0.5s; + cursor: pointer; +} +button:hover{ + + width: 145px; +} + +h1, h2 { + text-align: center; +} + +.selection-links { + text-align: center; + margin-bottom: 20px; +} + +a { + margin: 0 20px; + text-decoration: none; + color: #333; + font-weight: bold; +} + +.product-list { + display: flex; + flex-wrap: wrap; +} + +.product { + border: 1px solid #ccc; + padding: 10px; + margin: 10px; + width: 200px; + text-align: center; +} + +.product img { + max-width: 100%; + height: auto; +} + +#coffee-total, #tea-total { + margin-top: 20px; + text-align: center; +} \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/home.css b/Assignments/CB.EN.U4CYS22015/ui/css/home.css new file mode 100644 index 00000000..9d26fce8 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/home.css @@ -0,0 +1,1268 @@ +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + text-decoration: none; + list-style: none; + scroll-behavior: smooth; +} +section{ + height: 100%; + width: 100%; + background-color: #F2BE22; +} +html::-webkit-scrollbar-track{ + background: transparent; +} +html::-webkit-scrollbar-thumb{ + background: rgb(147, 0, 0); + border-radius: 10px; +} +html::-webkit-scrollbar{ + width: 10px; +} +body{ + background: #f9f9f9; +} +/* Header Start */ +.header{ + background: white; + width: 100%; + box-shadow: 0px 1px 1px black; + +} + + +.header nav{ + position: relative; + display: flex; + max-width: calc(100% - 200px); + margin: 0 auto; + height: 70px; + align-items: center; + justify-content: space-between; +} + + +nav .content{ + display: flex; + align-items: center; +} +nav .content .links{ + display: flex; + margin-left: 80px; +} +.content .logo a{ + color: black; + font-size: 30px; + font-weight: 650; +} +.content .logo a span{ + color: rgb(147, 0, 0); +} +.content .links li{ + list-style: none; + line-height: 70px; +} +.content .links li a, +.content .links li label{ + color: black; + font-size: 18px; + padding: 9px 17px; + font-weight: bold; + border-radius: 5px; + transition: all 0.3s ease; +} +.content .links li label{ + display: none; +} +.content .links li a:hover, +.content .links li label:hover{ + background: rgb(147, 0, 0); + color: white; +} +.header .search-icon, +.header .menu-icon{ + color: rgb(147, 0, 0); + font-size: 18px; + line-height: 70px; + width: 70px; + text-align: center; + cursor: pointer; +} +.header .menu-icon{ + display: none; +} +.header #show-search:checked ~.search-icon i::before{ + content: "\f00d"; +} +.header .search-box{ + position: absolute; + height: 100%; + max-width: calc(100% - 50px); + width: 100%; + opacity: 0; + pointer-events: none; + transition: all 0.3s ease; +} +.header #show-search:checked ~ .search-box{ + opacity: 1; + pointer-events: auto; +} +.search-box input{ + width: 100%; + height: 100%; + border: none; + outline: none; + font-size: 17px; + color: black; + background: white; + padding: 0 100px 0 15px; +} +.search-box input::placeholder{ + color: black; +} +.search-box .go-icon{ + position: absolute; + right: 10px; + top: 50%; + transform: translateY(-50%); + line-height: 60px; + width: 70px; + background: rgb(147, 0, 0); + border: none; + outline: none; + color: white; + font-size: 20px; + cursor: pointer; +} +.header input[type="checkbox"]{ + display: none; +} + +/* Responsive Code Start */ +@media screen and (max-width: 1250px){ + .header nav{ + max-width: 100%; + padding: 0 20px; + } + nav .content .links{ + margin-left: 30px; + } + .content .links li a{ + padding: 8px 13px; + } + .header .search-box{ + max-width: calc(100% - 100px); + } + .header .search-box input{ + padding: 0 100px 0 15px; + } +} +@media screen and (max-width:900px){ + .header .menu-icon{ + display: block; + } + .header #show-menu:checked ~ .menu-icon i::before{ + content: "\f00d"; + } + nav .content .links{ + display: block; + position: fixed; + background: white; + height: 100%; + width: 100%; + top: 70px; + left: -100%; + margin-left: 0; + max-width: 350px; + overflow-y: auto; + padding-bottom: 100px; + transition: all 0.3s ease; + } + nav #show-menu:checked ~ .content .links{ + left: 0%; + } + .content .links li{ + margin: 15px 20px; + } + .content .links li a, + .content .links li label{ + line-height: 40px; + font-size: 20px; + display: block; + padding: 8px 18px; + cursor: pointer; + } + .content .links li a.desktop-link{ + display: none; + } +} +/* Responsive Code Start */ + +/* Header End */ + +#myBtn { + display: none; + position: fixed; + bottom: 20px; + right: 30px; + z-index: 99; + border: none; + outline: none; + transition: transform 1s; + background-color: red; + color: white; + cursor: pointer; + padding: 15px; + border-radius: 10%; + font-size: 18px; + opacity: 0.8; + + } + + #myBtn:hover { + background-color: solid red; + } + + #dropdown { + display: none; + } + +/* Home section Start */ +.home{ + width: 100%; + height: 93vh; + display: flex; + align-items: center; + justify-content: center; + flex-wrap: wrap; + z-index: 0; + padding: 100px 8% 120px; +} +#home{ + background-size: cover; + background-image: url("../img/coffee1.jpg"); + +} +#coffee-class{ + height: 99.8vh; + background-size: cover; + background-image: url("../img/coffee2.jpg"); + +} +#tea-class{ + height: 99.8vh; + background-image: url("../img/tea1.jpg"); + background-size: cover; + +} +.home-content{ + flex: 1 1 400px; +} +.home .img{ + flex: 1 1 150px; +} +.home .img img{ + width: 100%; + box-shadow: 0px 15px 12px -10px black; + background: rgb(147, 0, 0); + border-radius: 290px; +} +.home-content h3{ + color: black; + font-size: 30px; + font-weight: 600; +} +.home-content h3 span{ + color: rgb(147, 0, 0); + text-shadow: 0px 1px 1px black; +} +.home-content h2{ + font-size: 40px; + font-weight: 700; + margin-top: 10px; +} +.home-content h2 span{ + color: rgb(147, 0, 0); + text-shadow: 0px 1px 1px black; +} +.home-content p{ + font-size: 15px; + font-weight: 500; + letter-spacing: 1px; + margin-bottom: 6px; +} +#btn{ + width: 175px; + height: 38px; + font-size: 16px; + font-weight: 500; + background-color: rgb(147, 0, 0); + color: white; + border-radius: 5px; + border: none; + margin-top: 20px; + transition: 0.5s; + cursor: pointer; +} +#btn:hover{ + width: 200px; +} +@media screen and (max-width:1243){ + .home{ + padding: 50px 5% 120px; + } +} +@media (max-width:660px){ + .home-content h3{ + font-size: 25px; + } + .home-content h2{ + font-size: 32px; + } +} +@media (max-width:597px){ + .home{ + text-align: center; + } +} +/* Home section End */ + + + + + + + +/* Top Cards Start */ +.top-cards{ + padding: 100px 8% 120px; + background: white; +} +.top-cards-content{ + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, auto)); + align-items: center; + gap: 0.90rem; + margin-top: 30px; +} +.top-cards-content .row{ + position: relative; + overflow: hidden; + border-radius: 10px; + cursor: pointer; +} +.top-cards-content .row img{ + width: 100%; + border-radius: 10px; + display: block; + transition: 0.5s ease; +} +.top-cards-content .row:hover img{ + transform: scale(1.1); +} +.layer{ + width: 100%; + height: 0%; + background: linear-gradient(rgba(0,0,0,0.1), rgb(147, 0, 0)); + position: absolute; + left: 0; + bottom: 0; + display: flex; + overflow: hidden; + flex-direction: column; + align-items: center; + justify-content: center; + text-align: center; + padding: 0 40px; + transition: 0.5s ease; +} +.layer button{ + background: rgb(147, 0, 0); + width: 100px; + height: 25px; + color: white; + border: 1px solid black; + border-radius: 5px; + cursor: pointer; +} +.layer h3{ + font-size: 25px; + font-weight: 550; + color: white; + letter-spacing: 2px; +} +.layer p{ + font-weight: 500; + color: white; + letter-spacing: 1px; + +} +.top-cards-content .row:hover .layer{ + height: 100%; +} +@media (max-width:920px){ + .top-cards-content{ + grid-template-columns: 1fr; + } +} +/* Top Cards End */ + + + + + +/* Dishes Section Start */ +.dishes{ + padding: 100px 8% 120px; + background-image: url(); +} + + +.main-text{ + text-align: center; +} +.main-text h3{ + font-size: 36px; + font-weight: 600; + color: black; + text-shadow: 0px 1px 1px black; +} +.main-text h3 span{ + color: rgb(147, 0, 0); +} +.card-content{ + display: grid; + grid-template-columns: repeat(auto-fit, minmax(350px, auto)); + text-align: center; + gap: 0.90rem; + margin-top: 30px; +} +.card-content .row{ + position: relative; + overflow: hidden; + border-radius: 10px; + cursor: pointer; +} +.row img{ + width: 100%; + border-radius: 10px; + display: block; + transition: transform 1s; +} + +.card-body{ + text-align: center; +} +.card-body h3{ + margin-top: 10px; + font-size: 30px; + font-weight: 500; + color: black; + text-shadow: 0px 1px 1px black; +} +.rating i{ + margin-left: 5px; + margin-top: 10px; +} +.checked{ + color: rgb(147, 0, 0); +} +.card-body p{ + font-weight: 500; + margin-top: 5px; + letter-spacing: 1px; +} +.price{ + font-size: 17px; + font-weight: bold; + margin-top: 5px; +} +.card-body button{ + width: 130px; + height: 30px; + font-weight: 550; + margin-top: 10px; + background: rgb(147, 0, 0); + color: white; + border-radius: 5px; + border: none; + transition: 0.5s ease; + cursor: pointer; +} +.card-body button:hover{ + width: 150px; +} +@media (max-width:920px){ + .card-content{ + grid-template-columns: 1fr; + } +} +/* Dishes Section End */ + + + + + + +/* Section Menu Start */ +#menu-text{ + background: white; + text-align: center; + font-size: 36px; + font-weight: 600; + color: black; + text-shadow: 0px 1px 1px black; + margin-top: 60px; +} +#menu-text span{ + color: rgb(147, 0, 0); + text-shadow: 0px 1px 1px black; +} +.menu{ + padding: 100px 8% 120px; + display: grid; + grid-template-columns: repeat(3, 1fr ); + align-items: center; + gap: 1.5rem; +} +.img-content{ + text-align: center; +} +.img-content img{ + border-radius: 100px; + width: 150px; +} +@media (max-width:920px){ + .menu{ + grid-template-columns: 1fr; + } + .menu-img{ + text-align: center; + } + .menu-img img{ + width: 70%; + } + .menu-content{ + text-align: center; + } +} +/* Section Menu End */ + + + + + + +/* About Section Start */ +.about{ + background: white; + padding: 100px 8% 120px; + display: grid; + grid-template-columns: repeat(2, 1fr); + align-items: center; + gap: 1.5rem; +} +.about-img img{ + background: #f9f9f9; + border-radius: 20px; + cursor: pointer; + transition: transform .8s; + text-align: center; + max-width: 530px; + height: auto; + width: 100%; + border-radius: 10px; + border-color: #D9D9D9; +} + +.about-img img:hover{ + transform: scale(1.1); +} + +.about-text h3{ + font-size: 30px; + line-height: 1; +} +.about-text p{ + letter-spacing: 1px; + margin-bottom: 4rem; + margin-top: 10px; +} +#about-btn{ + padding: 10px; + background: rgb(147, 0, 0); + color: white; + border-radius: 5px; + width: 120px; + transition: 0.5s; + cursor: pointer; +} +#about-btn:hover{ + + width: 145px; +} +@media (max-width:920px){ + .about{ + grid-template-columns: 1fr; + } + .about-img{ + text-align: center; + order: 2; + } + .about-img img{ + width: 100%; + height: auto; + max-width: 100%; + } +} +/* About Section End */ + + + + + + + + +/* Order Section Start */ +.order{ + display: grid; + background-color: #f2cd5f; + grid-template-columns: repeat(2, 1fr); + align-items: center; + gap: 2.5rem; + padding: 100px 8% 120px; +} +.order-text{ + margin-bottom: 10px; +} +.order-text h2{ + font-size: 30px; + font-weight: 700; + margin-bottom: 10px; + text-shadow: 0px 1px 1px black; +} +.order-text h2 span{ + color: rgb(147, 0, 0); +} +.order-text p{ + font-weight: 500; +} +.list{ + margin-top: 16px; +} +.list li{ + margin-bottom: 12px; +} +.list li a{ + display: block; + color: black; + font-size: 14px; + transition: 0.5s ease; +} +.service{ + margin-top: 30px; +} +.service a{ + padding: 10px; + color: white; + background: rgb(147, 0, 0); + font-weight: 600; + letter-spacing: 1px; + border-radius: 5px; + cursor: pointer; +} +.order-form{ + position: relative; +} +.order-form form input, +form textarea{ + width: 100%; + padding: 14px; + background: white; + color: black; + border: none; + outline: none; + font-size: 15px; + border-radius: 10px; + margin-bottom: 10px; +} +.order-form textarea{ + resize: none; + height: 200px; +} +.order-form .submit{ + display: inline-block; + font-size: 16px; + background: rgb(147, 0, 0); + color: white; + width: 160px; + transition: 0.5s ease; + cursor: pointer; +} +.order-form .submit:hover{ + width: 175px; +} +@media (max-width:920px){ + .order{ + grid-template-columns: 1fr; + max-width: 100%; + } +} +/* Order Section End */ + + + + + + + +/* Reviews Start */ +.reviews{ + padding: 100px 8% 120px; + background: white; +} +.review-content{ + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, auto)); + align-items: center; + gap: 2.5rem; + margin-top: 5rem; +} +.box{ + background: #f9f9f9; + padding: 35px 45px; + height: 50vh; + border-radius: 20px; + cursor: pointer; + transition: transform .8s; + text-align: center; +} + +.box:hover{ + transform: scale(1.1); +} + +.img img{ + width: 100px; + border-radius: 100px; +} +@media (max-width:920px){ + .review-content{ + grid-template-columns: 1fr; + } +} +/* Reviews End */ + + + + + + + +/* Footer Start */ +#footer{ + width: 100%; + background: #f9f9f9; +} +.footer-content{ + text-align: center; + padding-top: 5%; +} +.footer-content .logo h3{ + font-size: 32px; + font-weight: 600; + text-shadow: 0px 1px 1px black; +} +.footer-content .logo h3 span{ + color: rgb(147, 0, 0); +} +.footer-content p{ + font-weight: 550; + letter-spacing: 1px; +} +.socail-links i{ + margin-top: 20px; + padding: 10px; + border-radius: 5px; + background: black; + color: white; + font-size: 20px; + margin-left: 10px; + margin-bottom: 10px; + transition: 0.5s ease; + cursor: pointer; +} +.socail-links i:hover{ + background: rgb(147, 0, 0); +} +.footer-bottom-content{ + text-align: center; +} +.footer-bottom-content p{ + font-size: 17px; + font-weight: 550; +} +.footer-bottom-content p a{ + color: rgb(147, 0, 0); + font-weight: 600; +} +/* Footer End */ + +html{ + scroll-behavior: smooth; +} +/* .arrow{ + position: fixed; + background: rgb(147, 0, 0); + border-radius: 50px; + height: 50px; + bottom: 40px; + right: 50px; + text-decoration: none; + text-align: center; + line-height: 50px; +}*/ +.cardsfortravelling{ + height: 450px; + border: 2px solid red; + width: 300px; + margin:20px 50px; + display: inline-block; + background-image: url("https://fastui.cltpstatic.com/image/upload/w_176,h_178,f_auto,q_auto,c_fill,e_sharpen:80,g_auto,fl_progressive/hotels/places/cities/images/Goa_2000_1328.png"); + background-size: cover; +} +.bookingtick{ + height: 300px; + border:1px solid red; +} +.upper{ + border:1px solid red; + height: 40px; +} +.flightupper{ + border:1px solid black; + height: 100%; + width: 200px; + display: inline-block; +} +.trainupper{ + border:1px solid black; + height: 100%; + width: 200px; + display: inline-block; +} +.flightll{ + height: 260px; + margin-top:20px; + font-size: larger; + background-color: black; +} +.trainll{ + height: 260px; + margin-top:20px; + font-size: 40px; + background-color: rgb(182, 27, 27); + display: none; +} +.conttrainflight{ + border:1px solid red; + height: 200px; + width: 90vw; + +} +.upperhalf{ + height: 40px; + border:1px solid red; + display: flex; +} + +.lowerhalf{ + height: 157px; + border:1px solid red; +} +.flighloader{ + border:1px solid black; + height: 99%; + width: 20%; + font-size: 24px; + text-align: center; +} +.trainloader{ + border:1px solid black; + height: 99%; + width: 20%; + font-size: 24px; + text-align: center; + +} +.noramlclass{ + height: 99%; + border:1px solid black; + +} +#laodinginner1{ + background-color: aquamarine; +} +#laodinginner2{ + background-color: blanchedalmond; + display: none; +} +.firstdiv { + width: 80%; + height: 160px; + left: 66px; + background: #6A435F; + border-radius: 10px; + display: grid; + grid-template-columns: 80% 20%; + } + .seconddiv{ + width: 70%; + height: 100px; + left: 66px; + background: #6A435F; + border-radius: 10px; + display: grid; + grid-template-columns: 80% 20%; + } + + .arrow { + background-color: #6A435F; + color: white; + font-size: 25px; + font-weight: 900; + border-style: none; + margin-left: 15px; + } + + .way { + background-color: #6A435F; + border-style: none; + color: white; + height: 40px; + font-family: Montserrat; + margin-left: 15px; + font-size: 15px; + } + + .date { + background-color: #6A435F; + border-style: none; + color: white; + vertical-align: top; + margin-left: 60px; + font-family: Montserrat; + font-size: 20px; + + } + + .datediv { + display: inline-block; + vertical-align: top; + margin-left: 15px; + margin-top: 25px; + } + + .select { + background-color: black; + opacity: 0.5; + color: white; + padding-left: 10px; + padding-top: 10px; + padding-bottom: 10px; + padding-right: 10px; + border-style: none; + border-radius: 5px; + margin-left: 25px; + margin-top: 30px; + } + + .select:hover { + opacity: 1; + } + + .city { + font-size: 15px; + margin-top: 10px; + background-color: white; + border-style: none; + color: black; + font-family: Montserrat; + opacity: 0.5; + padding-left: 10px; + padding-right: 10px; + padding-top: 10px; + padding-bottom: 10px; + border-radius: 5px; + } + + .pax { + height: 15px; + width: 15px; + } + + .idk { + display: inline-block; + vertical-align: top; + margin-left: 25px; + background-color: #6A435F; + font-weight: 900; + border-style: none; + color: white; + margin-bottom: 5px; + } + + .seconddiv { + display: inline-block; + width: 600px; + height: 70px; + border-style: none; + border-radius: 5px; + background-color: #F3DCE1; + margin-bottom: 20px; + } + + .time { + display: inline-block; + margin-bottom: 0px; + font-size: 20px; + margin-left: 25px; + margin-top: 10px; + } + + .flightlogo { + height: 30px; + vertical-align: center; + margin-top: 20px; + } + + .flight { + display: inline-block; + margin-top: 28px; + margin-bottom: 0px; + font-size: 12px; + } + + .top { + background-image: url(plane.jpeg); + height: 500px; + width: 800px; + } + + .middlediv { + width: 600px; + height: 50px; + border-style: none; + border-radius: 5px; + background-color: #A06A8D; + display: inline-block; + margin-bottom: 30px; + } + + table { + border-collapse: collapse; + border-radius: 5px; + background: #F3DCE1; + color: black; + opacity: 0.9; + border-radius: 5px; + } + + th, + td { + font-weight: bold; + width: 10px; + font-family: Montserrat; + } + + .price { + margin-left: 120px; + border-style: none; + background-color: white; + color: black; + font-family: Montserrat; + opacity: 0.5; + border-radius: 5px; + padding-left: 10px; + padding-top: 5px; + padding-bottom: 5px; + padding-right: 10px; + } + + #top-img { + position: absolute; + width: 1728px; + height: 570px; + left: 0px; + top: 0px; + border-radius: 10px; + background-size: cover; + } + + #top-bar { + position: absolute; + width: 1728px; + height: 69px; + left: 0px; + top: 0px; + + background: rgba(29, 29, 29, 0.6); + } + + #logo { + position: absolute; + width: 215px; + height: 55px; + left: 84px; + top: 10px; + + /* background: url(logo_new-removebg-preview.png); */ + } + + img { + max-width: 100%; + max-height: 100%; + display: block; + } + + #m-txt { + position: absolute; + width: 77px; + left: calc(50% - 77px/2 - 373.5px); + top: 25px; + bottom: 3833px; + + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 22px; + + color: #FFFFFF; + } + + #s-txt { + position: absolute; + width: 77px; + left: calc(50% - 77px/2 - 240.5px); + top: 25px; + bottom: 3833px; + + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 22px; + + color: #FFFFFF; + } + + #e-txt { + position: absolute; + width: 77px; + left: calc(50% - 77px/2 - 107.5px); + top: 25px; + bottom: 3833px; + + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 22px; + + color: #FFFFFF; + } + + #a-txt { + position: absolute; + width: 86px; + left: calc(50% - 86px/2 + 30px); + top: 25px; + bottom: 3833px; + + font-family: 'Inter'; + font-style: normal; + font-weight: 400; + font-size: 18px; + line-height: 22px; + + color: #FFFFFF; + } + + #search { + position: absolute; + width: 259px; + height: 36px; + left: 1078px; + top: 19px; + + background: rgba(71, 84, 163, 0.52); + border-radius: 10px; + border: none; + + } + + *:focus { + outline: none; + } + + search:focus { + outline: none; + } + + ::placeholder { + /* Chrome, Firefox, Opera, Safari 10.1+ */ + color: #D9D9D9; + margin-left: 5px; + } + + #signin { + position: absolute; + width: 93px; + height: 36px; + left: 1503px; + top: 19px; + + background: #4754A3; + border-radius: 10px; + border: none; + outline: none; + justify-content: center; + align-items: center; + } + + #signin-txt { + position: absolute; + width: 58px; + height: 19px; + justify-content: center; + align-items: center; + + font-family: 'Inter'; + font-style: normal; + font-weight: 500; + font-size: 17px; + line-height: 18px; + /* identical to box height */ + display: flex; + margin-top: auto; + margin-left: auto; + + + color: #FFFFFF; + } + + #content { + margin-top: 600px; + } + + #wayid{ + font-size: 20px; + } + #card-img-txt{ + margin-top: 50px; + } + \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/main.css b/Assignments/CB.EN.U4CYS22015/ui/css/main.css new file mode 100644 index 00000000..6498b12c --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/main.css @@ -0,0 +1,105 @@ +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + + background-size: cover; + background-position: center; +} +video { + position: fixed; + top: 50%; + left: 50%; + min-width: 100%; + min-height: 100%; + width: auto; + height: auto; + transform: translate(-50%, -50%); + z-index: -1; +} + +.header-container .company-name a{ + color: black; + font-size: 30px; + font-weight: 650; + text-decoration: none; + +} + +#coffee{ + color: #930000; +} + +.header-container { + text-align: center; + background-color: rgba(255, 255, 255, 0.8); + padding: 20px 0; +} + +.company-name { + font-family: 'Georgia', serif; + font-size: 36px; + color: #555; + margin-bottom: 10px; +} + +.intro-container { + text-align: center; + margin: 10% auto; + max-width: 600px; + padding: 20px; + background-color: rgba(255, 255, 255, 0.8); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + border-radius: 8px; +} + +h1 { + color: #333; +} + +p { + color: #666; + font-size: 18px; + margin-bottom: 30px; +} + +.start-button { + display: inline-block; + padding: 10px 20px; + font-size: 16px; + font-weight: bold; + text-decoration: none; + color: #fff; + background-color: #4caf50; + width: 100px; + border-radius: 5px; + transition: 0.5s; +} + +.start-button:hover { + background-color: #930000; + + width: 125px; +} + +.additional-info { + text-align: left; + max-width: 600px; + margin: 30px auto; + padding: 20px; + background-color: rgba(255, 255, 255, 0.8); + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + border-radius: 8px; +} + +.company-details { + text-align: center; + margin-top: 50px; + padding: 10px; + background-color: rgba(47, 47, 47, 0.69); + color: #ffffff; + position: fixed; + bottom: 0; + left: 0; + width: 100%; +} \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/payment.css b/Assignments/CB.EN.U4CYS22015/ui/css/payment.css new file mode 100644 index 00000000..307f9c63 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/payment.css @@ -0,0 +1,155 @@ +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap'); + +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + border: none; + border-radius: 10px; + outline: none; + font-family: 'Poppins', sans-serif; + text-transform: capitalize; + transition: all 0.2s linear; +} + + +.container{ + display: flex; + justify-content: center; + align-items: center; + min-height: 100vh; + padding: 25px; + background: #73B5BD; +} + + +.container form { + width: 700px; + padding: 20px; + background: #fff; + box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2); +} + +.container form .row{ + display: flex; + flex-wrap: wrap; + gap: 15px; +} + +.container form .row .col{ + flex: 1 1 250px; +} + +.col .title{ + font-size: 20px; + color: #5e8f94; + padding-bottom: 5px; +} + +.col .inputBox #email{ + text-transform: none; +} + +.col .inputBox{ + margin: 15px 0; +} + +.col .inputBox label{ + margin-bottom: 10px; + display: block; +} + +.col .inputBox input, .col .inputBox select{ + width: 100%; + border: 1px solid #ccc; + padding: 10px 15px; + font-size: 15px; +} + +.col .inputBox input:focus, .col .inputBox select:focus{ + border: 1px solid #000; +} + +.col .flex{ + display: flex; + gap: 15px; +} + +.col .flex .inputBox{ + flex: 1 1; + margin-top: 5px; +} + +.col .inputBox img{ + height: 34px; + margin-top: 5px; + filter: drop-shadow(0 0 1px #000); +} + +.container form #submit_btn{ + width: 100%; + padding: 12px; + font-size: 17px; + background: #5e8f94; + color: #fff; + margin-top: 5px; + cursor: pointer; + letter-spacing: 1px; +} + +.container form #submit_btn:hover{ + background: #73B5BD; +} + +input::-webkit-inner-spin-button, +input::-webkit-outer-spin-button{ + display: none; +} + +.popup{ + width: 400px; + background: #333; + border-radius: 6px; + position: absolute; + top: 0; + left: 50%; + transform: translate(-50%,-50%) scale(0.1); + text-align: center; + padding: 0 30px 30px; + color: #fff; + visibility: hidden; + transition: transform .4s, top .4s; +} + +.open-popup{ + visibility: visible; + top: 50%; + transform: translate(-50%,-50%) scale(1); +} + +.popup img{ + width: 100px; + margin-top: -50px; + border-radius: 50%; + border: #333; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); +} + +.popup h2{ + font-size: 38px; + font-weight: 500; + margin: 30px 0 10px; +} + +.popup button{ + width: 100px; + margin-top: 50px; + padding: 10px 0; + background: #6fd649; + color: #333; + border: 0; + outline: none; + font-size: 18px; + border-radius: 4px; + cursor: pointer; +} \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/sign_in.css b/Assignments/CB.EN.U4CYS22015/ui/css/sign_in.css new file mode 100644 index 00000000..b244a2ee --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/sign_in.css @@ -0,0 +1,249 @@ +:root { + --color-white: #ffffff; + --color-light: #f1f5f9; + --color-black: #121212; + --color-night: #001632; + + --color-red: #f44336; + --color-blue: #1a73e8; + --color-gray: #80868b; + --color-grayish: #dadce0; + + --shadow-normal: 0 1px 3px 0 rgba(0, 0, 0, 0.1), + 0 1px 2px 0 rgba(0, 0, 0, 0.06); + --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), + 0 2px 4px -1px rgba(0, 0, 0, 0.06); + --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), + 0 4px 6px -2px rgba(0, 0, 0, 0.05); +} + +html { + font-size: 100%; + font-size-adjust: 100%; + box-sizing: border-box; + scroll-behavior: smooth; +} + +*, +*::before, +*::after { + padding: 0; + margin: 0; + box-sizing: inherit; + list-style: none; + list-style-type: none; + text-decoration: none; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-rendering: optimizeLegibility; +} + +body { + font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; + font-size: 1rem; + font-weight: normal; + line-height: 1.5; + color: var(--color-black); + background: var(--color-light); +} + +a, +button { + font-family: inherit; + font-size: inherit; + line-height: inherit; + cursor: pointer; + border: none; + outline: none; + background: none; + text-decoration: none; +} + +img { + display: block; + width: 100%; + height: auto; + object-fit: cover; +} + + +.container { + display: flex; + justify-content: center; + align-items: center; + max-width: 80rem; + min-height: 100vh; + width: 100%; + padding: 0 2rem; + margin: 0 auto; +} + +.ion { + &-logo-apple { + font-size: 1.65rem; + line-height: inherit; + margin-right: 0.5rem; + color: var(--color-black); + } + &-logo-google { + font-size: 1.65rem; + line-height: inherit; + margin-right: 0.5rem; + color: var(--color-red); + } + &-logo-facebook { + font-size: 1.65rem; + line-height: inherit; + margin-right: 0.5rem; + color: var(--color-blue); + } +} + +.text { + font-family: inherit; + line-height: inherit; + text-transform: unset; + text-rendering: optimizeLegibility; + + &-large { + font-size: 2rem; + font-weight: 600; + color: var(--color-black); + } + + &-normal { + font-size: 1rem; + font-weight: 400; + color: var(--color-black); + } + + &-links { + font-size: 1rem; + font-weight: 400; + color: var(--color-blue); + + &:hover { + text-decoration: underline; + } + } +} + + +.main { + .wrapper { + max-width: 28rem; + width: 100%; + margin: 2rem auto; + padding: 2rem 2.5rem; + border: none; + outline: none; + border-radius: 0.25rem; + color: var(--color-black); + background: var(--color-white); + box-shadow: var(--shadow-large); + + .form { + width: 100%; + height: auto; + margin-top: 2rem; + + .input-control { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: 1.25rem; + } + + .input-field { + font-family: inherit; + font-size: 1rem; + font-weight: 400; + line-height: inherit; + width: 100%; + height: auto; + padding: 0.75rem 1.25rem; + border: none; + outline: none; + border-radius: 2rem; + color: var(--color-black); + background: var(--color-light); + text-transform: unset; + text-rendering: optimizeLegibility; + } + + .input-submit { + font-family: inherit; + font-size: 1rem; + font-weight: 500; + line-height: inherit; + cursor: pointer; + min-width: 40%; + height: auto; + padding: 0.65rem 1.25rem; + border: none; + outline: none; + border-radius: 2rem; + color: var(--color-white); + background: var(--color-blue); + box-shadow: var(--shadow-medium); + text-transform: capitalize; + text-rendering: optimizeLegibility; + } + } + + .striped { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + margin: 1rem 0; + + &-line { + flex: auto; + flex-basis: auto; + border: none; + outline: none; + height: 2px; + background: var(--color-grayish); + } + + &-text { + font-family: inherit; + font-size: 1rem; + font-weight: 500; + line-height: inherit; + color: var(--color-black); + margin: 0 1rem; + } + } + + .method { + &-control { + margin-bottom: 1rem; + } + + &-action { + font-family: inherit; + font-size: 0.95rem; + font-weight: 500; + line-height: inherit; + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: auto; + padding: 0.35rem 1.25rem; + outline: none; + border: 2px solid var(--color-grayish); + border-radius: 2rem; + color: var(--color-black); + background: var(--color-white); + text-transform: capitalize; + text-rendering: optimizeLegibility; + transition: all 0.35s ease; + + + } + } + } +} diff --git a/Assignments/CB.EN.U4CYS22015/ui/css/tea.css b/Assignments/CB.EN.U4CYS22015/ui/css/tea.css new file mode 100644 index 00000000..4f859b2d --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/css/tea.css @@ -0,0 +1,58 @@ +body { + font-family: Arial, sans-serif; + margin: 20px; + background: #555; +} + +button{ + padding: 10px; + background: rgb(147, 0, 0); + color: white; + border-radius: 5px; + width: 120px; + transition: 0.5s; + cursor: pointer; +} +button:hover{ + + width: 145px; +} + +h1, h2 { + text-align: center; +} + +.selection-links { + text-align: center; + margin-bottom: 20px; +} + +a { + margin: 0 20px; + text-decoration: none; + color: #333; + font-weight: bold; +} + +.product-list { + display: flex; + flex-wrap: wrap; +} + +.product { + border: 1px solid #ccc; + padding: 10px; + margin: 10px; + width: 200px; + text-align: center; +} + +.product img { + max-width: 100%; + height: auto; +} + +#coffee-total, #tea-total { + margin-top: 20px; + text-align: center; +} \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/c_login.html b/Assignments/CB.EN.U4CYS22015/ui/html/c_login.html new file mode 100644 index 00000000..384903ae --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/c_login.html @@ -0,0 +1,39 @@ + + + + + + Login + + + + + + +
+
+
+
+

Sign In

+

New user? Create an account +

+
+
+
+ + +
+
+ + +
+
+ Forgot Password + +
+
+
+
+
+ + \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/coffee.html b/Assignments/CB.EN.U4CYS22015/ui/html/coffee.html new file mode 100644 index 00000000..c4facfdc --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/coffee.html @@ -0,0 +1,26 @@ + + + + + + Coffee Subscription + + + + +

Coffee Selection

+ +
+ +
+ +
+

Total Price: $0.00

+ + +
+ + + + + diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/coffee_home.html b/Assignments/CB.EN.U4CYS22015/ui/html/coffee_home.html new file mode 100644 index 00000000..db7c847c --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/coffee_home.html @@ -0,0 +1,335 @@ + + + + + + + + Coffee & Tea Delights + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
+

Welcome To Coffee Delights

+

Good ideas start with BrainStorming.
Great ideas start with COFFEE.

+

+ +
+
+ +
+
+ + + +



+ + + + +
+
+ +

Life is short,
but your coffee break doesn’t have to be.

+

+ +
+
+ + + +



+ + +
+
+ +

Life is like a cup of tea,
It's all in how you make it.

+

+ +
+
+ + + +



+ +
+

Popular Coffees and Teas

+
+
+
+ +
+

Espresso

+
+ +
+

+
+
+
+ +
+

Americano

+
+ +
+

+
+ +
+
+ +
+

Latte

+
+ +
+

+
+
+
+
+
+ +
+

Black Tea

+
+ +
+

+
+
+
+ +
+

Green Tea

+
+ +
+

+
+
+
+ +
+

OOlong Tea

+
+ +
+

+
+
+ +
+ +



+ + + + + + + + +



+ + +
+
+ +
+
+

Our mission since we started has stayed simple

+

Introduce our customers to the estates we directly buy our great tasting coffee from, roast the beans with care, and make high quality coffee more accessible through our cafes and our website. The coffee we roast is the coffee we like to drink, and we hope you like it too.

+ +

At COFFEE DELIGHTS, we follow a simple set of beliefs....

+ + +

Transparency is much more than just where we get our beans from.

+
+ The first thing we did when we started our company was to highlight our award winning farms. This idea of transparency organically evolved to the way we worked in other areas too - our baristas are always present to discuss brewing tips, our customer service team are there to walk you through your coffee questions, and our roasting team to show you how they work.

+ +

A culture of constant learning is the key to always pushing coffee forward.

+
+ We are consistently researching, testing and implementing best practices throughout our business to raise the bar. Making refractometers essential for our cafe brewing, holding advanced sensory learnings for junior roasters, and experimenting with processing at the farm level are just some of the ways that our highly skilled team is constantly evolving the way Indian coffee is treated, experienced or communicated about.

+ +

Sourcing the best coffee beans does not guarantee good coffee.


+

Although we have a dedicated sourcing team for green beans and have invested in establishing quality roasting parameters, we know that a lot more steps still have to fall into place to brew a good cup. This is why we have worked hard to create coffee training centres to impart leading procedures such as equipping baristas with assessing and reporting tools for precision brewing, and cupping every single batch that is roasted to ensure consistent quality..

+
+ + + +
+
+ + +



+ + + + + + +
+
+

Review US!

+

Coffee Delights is a delightful coffee subscription website that caters to the discerning taste buds of coffee enthusiasts. The website offers a seamless and user-friendly experience from start to finish. The intuitive and visually appealing design immediately captures the essence of the coffee culture, creating an inviting atmosphere for visitors.

+
+
+
+ + + + + +
+
+ +
+ + + + +



+ + + +
+
+

Clients Reviews

+
+
+
+
+ +
+

Hugh Jackman

+
+ + + + + +
+

I stumbled upon this coffee subscription website, and it's been a game-changer for my mornings! The selection of coffee blends is incredible, and I love how they provide detailed flavor profiles. The subscription process was a breeze, and I appreciate the flexibility in choosing my delivery frequency. The coffee is top-notch, and the whole experience, from ordering to brewing, is a true delight. I'm officially a loyal subscriber!

+
+
+
+ +
+

Ed Sheeran

+
+ + + + + +
+

I've tried a few coffee subscription services, but none come close to the experience I've had with this website. The design is so inviting, and navigating through the different blends is a joy. What sets it apart is the personal touch—they share stories about the beans and offer brewing tips. I love reading the blog section while sipping on their amazing coffee. It's more than just a subscription; it's a coffee lover's community. Highly recommended!

+
+
+
+ +
+

Bill Gates

+
+ + + + + +
+

As a coffee aficionado, I have high standards, and this subscription service not only met but exceeded my expectations. The website is user-friendly, making it easy to explore their diverse coffee offerings. The attention to detail in describing each blend's flavor notes helped me find my perfect match. The subscription options are flexible, allowing me to customize it according to my lifestyle. The quality of the coffee is outstanding—fresh, aromatic, and simply divine. My mornings have become a ritual of savoring these exceptional brews. Two thumbs up!

+
+
+ +
+ + + + + + + + + + + + + +Copyright © 2022 Coffee & Tea Delight. All Rights Reserved ® + + + + + + + + \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/forgot_pass.html b/Assignments/CB.EN.U4CYS22015/ui/html/forgot_pass.html new file mode 100644 index 00000000..853da174 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/forgot_pass.html @@ -0,0 +1,46 @@ + + + + + + Forgot Password + + + + + + +
+
+
+
+

Forgot Password

+
+
+ +
+ + +
+
+ + +
+
+ + +
+
+

Already have an account? Sign in +

+
+
+ +
+
+
+
+
+ + + \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/payment_portal.html b/Assignments/CB.EN.U4CYS22015/ui/html/payment_portal.html new file mode 100644 index 00000000..53ed1b42 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/payment_portal.html @@ -0,0 +1,117 @@ + + + + + + Payment Portal + + + + + +
+ +
+ +
+ +
+

Billing Address

+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ + +
+ +
+ + +
+ +
+ +
+
+

Payment

+ +
+ + +
+ +
+ + +
+ +
+ + +
+ + +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + + + +
+ + + +
+ + + + + diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/signup.html b/Assignments/CB.EN.U4CYS22015/ui/html/signup.html new file mode 100644 index 00000000..37a3a8b0 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/signup.html @@ -0,0 +1,49 @@ + + + + + + Sign Up + + + + + + +
+
+
+
+

Sign Up

+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+

Already have an account? Sign in +

+
+
+ +
+
+
+
+
+ + + \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/html/tea.html b/Assignments/CB.EN.U4CYS22015/ui/html/tea.html new file mode 100644 index 00000000..81bf75a7 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/html/tea.html @@ -0,0 +1,25 @@ + + + + + + + + Tea Subscription + + +

Tea Selection

+ +
+ +
+ +
+

Total Price: $0.00

+ + +
+ + + + diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Affogato.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Affogato.jpg new file mode 100644 index 00000000..fbc2137f Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Affogato.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Americano.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Americano.jpg new file mode 100644 index 00000000..929e3cb1 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Americano.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Americano1.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Americano1.jpg new file mode 100644 index 00000000..c5c4f316 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Americano1.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Black Tea. ....jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Black Tea. ....jpg new file mode 100644 index 00000000..97197040 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Black Tea. ....jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Black_tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Black_tea.jpg new file mode 100644 index 00000000..68fa20b8 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Black_tea.jpg differ diff --git "a/Assignments/CB.EN.U4CYS22015/ui/img/Caf\303\251 Latte.jpg" "b/Assignments/CB.EN.U4CYS22015/ui/img/Caf\303\251 Latte.jpg" new file mode 100644 index 00000000..1d61a048 Binary files /dev/null and "b/Assignments/CB.EN.U4CYS22015/ui/img/Caf\303\251 Latte.jpg" differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.jpg new file mode 100644 index 00000000..74e5e7d0 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.png b/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.png new file mode 100644 index 00000000..83dcd87e Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Cappuccino.png differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Espresso.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Espresso.jpg new file mode 100644 index 00000000..bc096953 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Espresso.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Espresso1.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Espresso1.jpg new file mode 100644 index 00000000..c39b8f85 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Espresso1.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Flat White.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Flat White.jpg new file mode 100644 index 00000000..c3d248f7 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Flat White.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Green Tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Green Tea.jpg new file mode 100644 index 00000000..77e6528a Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Green Tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Green_tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Green_tea.jpg new file mode 100644 index 00000000..fec3e103 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Green_tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Herbal tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Herbal tea.jpg new file mode 100644 index 00000000..52080dc2 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Herbal tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Latte.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Latte.jpg new file mode 100644 index 00000000..2952e41d Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Latte.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Macchiato.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Macchiato.jpg new file mode 100644 index 00000000..1321a0f0 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Macchiato.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Matcha.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Matcha.jpg new file mode 100644 index 00000000..e893150c Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Matcha.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Mocha.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Mocha.jpg new file mode 100644 index 00000000..5d8a63f7 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Mocha.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Oolong Tea..jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Oolong Tea..jpg new file mode 100644 index 00000000..db1b9440 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Oolong Tea..jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Oolong_tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Oolong_tea.jpg new file mode 100644 index 00000000..20b589a7 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Oolong_tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/PiccoloLatte.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/PiccoloLatte.jpg new file mode 100644 index 00000000..2ec6af5a Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/PiccoloLatte.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Pu-erh tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Pu-erh tea.jpg new file mode 100644 index 00000000..8a9ef457 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Pu-erh tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Ristretto.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Ristretto.jpg new file mode 100644 index 00000000..9abc7ba1 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Ristretto.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Rooibos teas.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/Rooibos teas.jpg new file mode 100644 index 00000000..5c8746d2 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Rooibos teas.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/Untitled video - Made with Clipchamp.mp4 b/Assignments/CB.EN.U4CYS22015/ui/img/Untitled video - Made with Clipchamp.mp4 new file mode 100644 index 00000000..de0937a3 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/Untitled video - Made with Clipchamp.mp4 differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/White tea.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/White tea.jpg new file mode 100644 index 00000000..fbebe3b6 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/White tea.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/about.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/about.jpg new file mode 100644 index 00000000..0acb1250 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/about.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/coffee1.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/coffee1.jpg new file mode 100644 index 00000000..f2ad2b60 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/coffee1.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/coffee2.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/coffee2.jpg new file mode 100644 index 00000000..4a313f3e Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/coffee2.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/coffeee.ico b/Assignments/CB.EN.U4CYS22015/ui/img/coffeee.ico new file mode 100644 index 00000000..8cf37c7e Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/coffeee.ico differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/tea1.jpg b/Assignments/CB.EN.U4CYS22015/ui/img/tea1.jpg new file mode 100644 index 00000000..ddab4a2a Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/tea1.jpg differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/img/tick.png b/Assignments/CB.EN.U4CYS22015/ui/img/tick.png new file mode 100644 index 00000000..bd703ce6 Binary files /dev/null and b/Assignments/CB.EN.U4CYS22015/ui/img/tick.png differ diff --git a/Assignments/CB.EN.U4CYS22015/ui/index.html b/Assignments/CB.EN.U4CYS22015/ui/index.html new file mode 100644 index 00000000..3b2524bd --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/index.html @@ -0,0 +1,50 @@ + + + + + + + Coffee & Tea Subscription + + + + + + +
+
Coffee Delights
+
+ +
+

Welcome to Our Coffee & Tea Subscription

+

Discover the rich flavors of our premium coffee and tea selections. Elevate your daily routine with a delightful cup delivered to your doorstep.

+ Get Started +
+ +
+

Why Coffee and Tea?

+

Coffee and tea have been cherished for centuries, not just for their invigorating taste but for the profound impact they have on our lives. These beverages transcend the boundaries of mere drinks; they are a cultural phenomenon, a source of comfort, and a catalyst for social connections.

+ +

The Essence of Coffee and Tea

+

Imagine the warmth of a cup of coffee on a chilly morning or the calming ritual of sipping tea in the afternoon. Coffee, with its bold and robust flavor, awakens the senses, while tea, with its diverse blends, provides solace and relaxation. Together, they form a tapestry of experiences, weaving moments of joy into our daily lives.

+ +

The Journey Through History

+

The story of coffee and tea is a journey through time, tracing back to ancient civilizations where these beverages were revered for their medicinal properties. Coffee, with its origins in the highlands of Ethiopia, became a global sensation during the Arabian Peninsula's golden age. Tea, discovered in China, captivated the world with its delicate flavors and profound cultural significance.

+ +

Subscription Policy

+

Our subscription service offers flexible plans tailored to your preferences. Choose from a variety of blends and delivery frequencies. Easily manage your subscription, pause, or modify your order at any time through your account.

+ +

Cancellation Policy

+

We understand that preferences may change. Canceling your subscription is hassle-free. Simply log in to your account and follow the cancellation process. No hidden fees or complicated procedures.

+
+

+

+ © 2023 Coffee & Tea Delights | Contact us: info@coffeeandtea.com | Phone: (123) 456-7890 +
+

+ + + diff --git a/Assignments/CB.EN.U4CYS22015/ui/js/checkpass.js b/Assignments/CB.EN.U4CYS22015/ui/js/checkpass.js new file mode 100644 index 00000000..896dfa88 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/js/checkpass.js @@ -0,0 +1,31 @@ +function checkPass(){ + var pass1 = document.getElementById('password1'); + var pass2 = document.getElementById('password2'); + var message = document.getElementById('error-nwl'); + var goodColor = "#66cc66"; + var badColor = "#ff6666"; + + + if(pass1.length > 7){ + pass1.style.backgroundColor = goodColor; + message.style.color = goodColor; + message.innerHTML = "Character number ok!" + } + else{ + pass1.style.backgroundColor = badColor; + message.style.color = badColor; + message.innerHTML = " You have to enter at least 8 digit!" + } + if(pass1.value == pass2.value){ + pass2.style.backgroundColor = goodColor; + pass1.style.backgroundColor = goodColor; + message.style.color = goodColor; + message.innerHTML = "Passwords matched!" + } + else{ + pass2.style.backgroundColor = badColor; + message.style.color = badColor; + message.innerHTML = " These passwords don't match" + } + +} diff --git a/Assignments/CB.EN.U4CYS22015/ui/js/coffee.js b/Assignments/CB.EN.U4CYS22015/ui/js/coffee.js new file mode 100644 index 00000000..9a29c851 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/js/coffee.js @@ -0,0 +1,68 @@ +document.addEventListener("DOMContentLoaded", function () { + const coffeeList = document.getElementById("coffee-list"); + + // Example coffee products + const coffeeProducts = [ + { name: "Espresso", price: 5.99, image: "../img/Espresso1.jpg" }, + { name: "Macchiato", price: 7.99, image: "../img/Macchiato.jpg" }, + { name: "Ristretto", price: 6.49, image: "../img/Ristretto.jpg" }, + { name: "Americano", price: 8.99, image: "../img/Americano1.jpg" }, + { name: "Café Latte", price: 4.99, image: "../img/Café Latte.jpg" }, + { name: "Cappuccino", price: 9.99, image: "../img/Cappuccino.jpg" }, + { name: "Flat White", price: 11.49, image: "../img/Flat White.jpg" }, + { name: "Piccolo Latte", price: 10.99, image: "../img/PiccoloLatte.jpg" }, + { name: "Mocha", price: 12.99, image: "../img/Mocha.jpg" }, + { name: "Affogato", price: 14.99, image: "../img/Affogato.jpg" }, + // Add more coffee products as needed + ]; + + coffeeProducts.forEach(product => { + const productDiv = createProductDiv(product); + coffeeList.appendChild(productDiv); + }); +}); + +function createProductDiv(product) { + const div = document.createElement("div"); + div.classList.add("product"); + + const image = document.createElement("img"); + image.src = product.image; + image.alt = product.name; + + const name = document.createElement("p"); + name.textContent = product.name; + + const price = document.createElement("p"); + price.textContent = `$${product.price.toFixed(2)}`; + + const checkbox = document.createElement("input"); + checkbox.type = "checkbox"; + checkbox.value = product.price; + checkbox.addEventListener("change", updateTotal); + + div.appendChild(image); + div.appendChild(name); + div.appendChild(price); + div.appendChild(checkbox); + + return div; +} + +function updateTotal() { + const checkboxes = document.querySelectorAll("#coffee-list input[type=checkbox]"); + const totalSpan = document.getElementById("coffee-total-price"); + + let total = 0; + checkboxes.forEach(checkbox => { + if (checkbox.checked) { + total += parseFloat(checkbox.value); + } + }); + + if(total==0){ + alert('Please order atleast one.Cannot proceed to payment portal'); + } + + totalSpan.textContent = total.toFixed(2); +} \ No newline at end of file diff --git a/Assignments/CB.EN.U4CYS22015/ui/js/home.js b/Assignments/CB.EN.U4CYS22015/ui/js/home.js new file mode 100644 index 00000000..0afced71 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/js/home.js @@ -0,0 +1,86 @@ +var k = 0 ; + function loadingflight(){ + k = 1; + if(k==1){ + document.getElementById("laodinginner2").style.display="none"; + document.getElementById("laodinginner1").style.display="block"; +} +else if(k==2){ + document.getElementById("laodinginner1").style.display="none"; + document.getElementById("laodinginner2").style.display="block"; +} +else if (k==0){ + document.getElementById("laodinginner2").style.display="none"; + document.getElementById("laodinginner1").style.display="block"; + +} + + } + function loadingtrain(){ + k=2; + + if(k==1){ + document.getElementById("laodinginner2").style.display="none"; + document.getElementById("laodinginner1").style.display="block"; + } + else if(k==2){ + document.getElementById("laodinginner1").style.display="none"; + document.getElementById("laodinginner2").style.display="block"; + } + else if (k==0){ + document.getElementById("laodinginner2").style.display="none"; + document.getElementById("laodinginner1").style.display="block"; + + } + } + // function exploreeventbtn1(){ + // window.location="movies.html" + // } + + function exploreeventbtn2(){ + window.open="m.html" + } + + function exploreeventbtn3(){ + window.open="t.html" + } + + function changeVal() { + var dots = document.getElementById("dots"); + var moreText = document.getElementById("dropdown"); + var btnText = document.getElementById("about-btn"); + + if (dots.style.display === "none") { + dots.style.display = "inline"; + btnText.innerHTML = "Read Less..."; + moreText.style.display = "none"; + } else { + dots.style.display = "none"; + btnText.innerHTML = "Read More..."; + moreText.style.display = "inline"; + } + } + + document.getElementById("about-btn").addEventListener("click", function () { + var dropdown = document.getElementById("dropdown"); + dropdown.style.display = (dropdown.style.display === "none") ? "block" : "none"; + }); + + let mybutton = document.getElementById("myBtn"); + +// When the user scrolls down 20px from the top of the document, show the button +window.onscroll = function() {scrollFunction()}; + +function scrollFunction() { + if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { + mybutton.style.display = "block"; + } else { + mybutton.style.display = "none"; + } +} + +// When the user clicks on the button, scroll to the top of the document +function topFunction() { + document.body.scrollTop = 0; // For Safari + document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera +} diff --git a/Assignments/CB.EN.U4CYS22015/ui/js/payment.js b/Assignments/CB.EN.U4CYS22015/ui/js/payment.js new file mode 100644 index 00000000..6d0a9b04 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/js/payment.js @@ -0,0 +1,26 @@ +var cardNumInput = document.querySelector('#cardNum') + +cardNumInput.addEventListener('keyup', () => { + let cNumber = cardNumInput.value + cNumber = cNumber.replace(/\s/g, "") + + if(Number(cNumber)){ + cNumber = cNumber.match(/.{1,4}/g) + cNumber = cNumber.join(" ") + cardNumInput.value = cNumber + } +}); + +var expiryInput = document.querySelector('#expiry') + +expiryInput.addEventListener('keyup', () => { + let cNumber = expiryInput.value + cNumber = cNumber.replace(/\s/g, "") + + if(Number(cNumber)){ + cNumber = cNumber.match(/.{1,2}/g) + cNumber = cNumber.join("/") + expiryInput.value = cNumber + } +}); + diff --git a/Assignments/CB.EN.U4CYS22015/ui/js/tea.js b/Assignments/CB.EN.U4CYS22015/ui/js/tea.js new file mode 100644 index 00000000..7c8619b7 --- /dev/null +++ b/Assignments/CB.EN.U4CYS22015/ui/js/tea.js @@ -0,0 +1,67 @@ +document.addEventListener("DOMContentLoaded", function () { + const coffeeList = document.getElementById("coffee-list"); + + // Example coffee products + const coffeeProducts = [ + { name: "Black tea", price: 7.99, image: "../img/Black_tea.jpg" }, + { name: "Green tea", price: 8.99, image: "../img/Green_tea.jpg" }, + { name: "Oolong tea ", price: 9.49, image: "../img/Oolong_tea.jpg" }, + { name: "Pu-erh tea", price: 12.99, image: "../img/Pu-erh tea.jpg" }, + { name: "Matcha", price: 19.99, image: "../img/Matcha.jpg" }, + { name: "Herbal tea", price: 15.99, image: "../img/Herbal tea.jpg" }, + { name: "Rooibos teas", price: 20.49, image: "../img/Rooibos teas.jpg" }, + { name: "White tea", price: 13.99, image: "../img/White tea.jpg" }, + + // Add more coffee products as needed + ]; + + coffeeProducts.forEach(product => { + const productDiv = createProductDiv(product); + coffeeList.appendChild(productDiv); + }); +}); + +function createProductDiv(product) { + const div = document.createElement("div"); + div.classList.add("product"); + + const image = document.createElement("img"); + image.src = product.image; + image.alt = product.name; + + const name = document.createElement("p"); + name.textContent = product.name; + + const price = document.createElement("p"); + price.textContent = `$${product.price.toFixed(2)}`; + + const checkbox = document.createElement("input"); + checkbox.type = "checkbox"; + checkbox.value = product.price; + checkbox.addEventListener("change", updateTotal); + + div.appendChild(image); + div.appendChild(name); + div.appendChild(price); + div.appendChild(checkbox); + + return div; +} + +function updateTotal() { + const checkboxes = document.querySelectorAll("#coffee-list input[type=checkbox]"); + const totalSpan = document.getElementById("coffee-total-price"); + + let total = 0; + checkboxes.forEach(checkbox => { + if (checkbox.checked) { + total += parseFloat(checkbox.value); + } + }); + + if(total==0){ + alert('Please order atleast one.Cannot proceed to payment portal'); + } + + totalSpan.textContent = total.toFixed(2); +} \ No newline at end of file