diff --git a/about-us.html b/about-us.html new file mode 100644 index 000000000..c34d58275 --- /dev/null +++ b/about-us.html @@ -0,0 +1,72 @@ + + + + + + + Not Starbucks + + + + +
+ + + + + +
+
+
+ +

! Starbucks Coffee

+ +
+ + +

We are Not Starbucks !

+

Savoring Europe with authentically homemade dishes. ! Starbucks is a popular café that specializes in serving delicious European, made-to-order coffee, and soon other beverages. Established in 2023, ! Starbucks quickly gained a reputation for its unique and tasty menu items, friendly staff, and cozy atmosphere. Whether you're in the mood for a sweet or savory coffee, a hot cup of coffee, or a refreshing coffee, ! Starbucks has something for everyone. We serve Breakfast, Lunch and Dinner from our Leon Valley location. Located in the heart of Medical Center, close to North-Western San Antonio, only 5 miles from UTSA, ! Starbucks is the perfect spot. Come visit us today and experience the ! Starbucks difference!

+ + +
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/book-a-table.html b/book-a-table.html new file mode 100644 index 000000000..03d3e9afb --- /dev/null +++ b/book-a-table.html @@ -0,0 +1,95 @@ + + + + + + + Book a Table + + + + +
+ + + + +
+
+
+

! Book Now

+
+

We are taking online reservations!

+

Let’s ensure you get a great table: Book today!

+

We recommend making a reservation ahead of time. Book your table today!

+ Book Table +
+
+
+
+ + + + +
+ + \ No newline at end of file diff --git a/css/layout.css b/css/layout.css new file mode 100644 index 000000000..357b85e84 --- /dev/null +++ b/css/layout.css @@ -0,0 +1,310 @@ +/* + The "page wrapper" is the outermost container for the page. It mimics + the behavior of the body tag, but is a container so that it can be styled + with more flexibility than the body tag. +*/ +.page-wrapper { +display: flex; +flex-direction: column; +min-height: 100vh; +} + +/* + The "container", sometimes referred to as a "section", is a container + element (semantic when applicable) that vertically separates different + areas on the page based on their purpose or topic. It can allow different + background colors and properties for each section that help users associate + content within it as belonging to the same subject. +*/ +.container { +display: flex; +flex-direction: column; +align-items: center; +} + +/* + The "row" is a container element that horizontally separates its + children, which are usually columns. It also performs a secondary role + of keeping the content of the site within a reasonable width, so that + wider screens don't disrupt the intended layout. +*/ +.row { +display: flex; +width: 100%; +max-width: 1100px; +padding: 0 20px; +} +.row.full-width { + max-width: unset; +} +.row.no-padding { + padding: unset; +} +/* + The "column" is a container element that vertically separates its + children, which are usually content elements. When paired with sibling columns, + it allows for the creation of a flexible grid system that can be used + to create a variety of layouts. +*/ +.column { +display: flex; +flex-direction: column; +flex-grow: 1 0 0; +order:0; +} + +/* THIS IS OUR UTILITY CLASS FOR FLEX PROPERTIES */ +.d-flex { + display: flex; +} +.align-items-center { + align-items: center; +} +.align-items-start { + align-items: start; +} +.align-items-end { + align-items: end; +} +.justify-content-center { + justify-content: center; +} +.justify-content-start { + justify-content: start; +} +.justify-content-end { + justify-content: end; +} +.justify-content-between { + justify-content: space-between; +} +.justify-content-around { + justify-content: space-around; +} +.justify-content-evenly { + justify-content: space-evenly; +} +.flex-wrap { + flex-wrap: wrap; +} +.flex-column { + flex-direction: column; +} +.flex-grow { + flex: 1 0 0; +} +.flex-shrink { + flex: 0 1 auto; +} + +/* PADDING UTILITY CLASS */ +.p-0 { + padding: 0; +} +.p-5 { + padding: 5px; +} +.p-10 { + padding: 10px; +} +.p-15 { + padding: 15px; +} +.p-20 { + padding: 20px; +} +.p-25 { + padding: 25px; +} +.p-30 { + padding: 30px; +} + +.px-0 { + padding-left: 0px; + padding-right: 0px; +} +.px-5 { + padding-left: 5px; + padding-right: 5px; +} +.px-10 { + padding-left: 10px; + padding-right: 10px; +} +.px-15 { + padding-left: 15px; + padding-right: 15px; +} +.px-20 { + padding-left: 20px; + padding-right: 20px; +} +.px-25 { + padding-left: 25px; + padding-right: 25px; +} +.px-30 { + padding-left: 30px; + padding-right: 30px; +} +.py-0 { + padding-top: 0px; + padding-bottom: 0px; +} +.py-5 { + padding-top: 5px; + padding-bottom: 5px; +} +.py-10 { + padding-top: 10px; + padding-bottom: 10px; +} +.py-15 { + padding-top: 15px; + padding-bottom: 15px; +} +.py-20 { + padding-top: 20px; + padding-bottom: 20px; +} +.py-25 { + padding-top: 25px; + padding-bottom: 25px; +} +.py-30 { + padding-top: 30px; + padding-bottom: 30px; +} +.py-40 { + padding-top: 40px; + padding-bottom: 40px; +} +.py-50 { + padding-top: 50px; + padding-bottom: 50px; +} + +/* MARGIN UTILITY CLASS */ +.m-0 { + margin: 0; +} +.m-5 { + margin: 5px; +} +.m-10 { + margin: 10px; +} +.m-15 { + margin: 15px; +} +.m-20 { + margin: 20px; +} +.m-25 { + margin: 25px; +} +.m-30 { + margin: 30px; +} +.mx-0 { + margin-left: 0px; + margin-right: 0px; +} +.mx-5 { + margin-left: 5px; + margin-right: 5px; +} +.mx-10 { + margin-left: 10px; + margin-right: 10px; +} +.mx-15 { + margin-left: 15px; + margin-right: 15px; +} +.mx-20 { + margin-left: 20px; + margin-right: 20px; +} +.mx-25 { + margin-left: 25px; + margin-right: 25px; +} +.mx-30 { + margin-left: 30px; + margin-right: 30px; +} +.my-0 { + margin-top: 0px; + margin-bottom: 0px; +} +.my-5 { + margin-top: 5px; + margin-bottom: 5px; +} +.my-10 { + margin-top: 10px; + margin-bottom: 10px; +} +.my-15 { + margin-top: 15px; + margin-bottom: 15px; +} +.my-20 { + margin-top: 20px; + margin-bottom: 20px; +} +.my-25 { + margin-top: 25px; + margin-bottom: 25px; +} +.my-30 { + margin-top: 30px; + margin-bottom: 30px; +} +.my-40 { + margin-top: 40px; + margin-bottom: 40px; +} +.my-50 { + margin-top: 50px; + margin-bottom: 50px; +} + +/* GAP UTILITY CLASSES */ +.gap-0 { + gap: 0px; +} +.gap-5 { + gap: 5px; +} +.gap-10 { + gap: 10px; +} +.gap-15 { + gap: 15px; +} +.gap-20 { + gap: 20px; +} +.gap-25 { + gap: 25px; +} +.gap-30 { + gap: 30px; +} +.gap-35 { + gap: 35px; +} +.gap-40 { + gap: 40px; +} + +.gap-45 { + gap: 45px; +} + +.gap-50 { + gap: 50px; +} diff --git a/css/resets.css b/css/resets.css new file mode 100644 index 000000000..f7377011b --- /dev/null +++ b/css/resets.css @@ -0,0 +1,20 @@ +*{ + margin: 0; + padding: 0; + box-sizing: border-box; +} +img { + display: block; + max-width: 100%; +} +input, input::placeholder{ + font-family: inherit; +} +ul { + list-style: none; +} + +a { + color: inherit; + text-decoration: unset; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 000000000..0cdcc8817 --- /dev/null +++ b/css/style.css @@ -0,0 +1,318 @@ +@import "resets.css"; +@import "layout.css"; +@import url('https://fonts.googleapis.com/css2?family=Barriecito&family=Fresca&family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Outfit:wght@300;400;600&display=swap'); + +:root { + --primary-dark: #081b29; + --primary-ligth:#ededed; + --transition-clr-blue:#00abf0; +} + +body { + font-family: 'Josefin Sans', sans-serif; + background-color: var(--primary-dark); + color: var(--primary-ligth); + +} +header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0px; + background-color: var(--primary-dark); + color: var(--primary-ligth); + font-weight: 600; + font-size: 18px; + z-index: 9; +} +.header { + position: fixed; + top: 0; + left: 0; + width: 100%; + padding: 20px 10px; + background-color: transparent; + z-index: 9; + font-size: 20px; + color: var(--primary-ligth); + font-weight: 600; + +} +#coffees { + margin-top: 70px; /* Adjust the value as needed */ +} +.logo:hover { + color: var(--transition-clr-blue); +} + +.navbar a { + font-size: 17px; + font-weight: 500; + margin-left: 35px; + transition: .3s; +} + +.navbar a:hover, +.navbar a.active{ + color: var(--transition-clr-blue); +} + /********************************************************MAIN **************************************************/ +/*.company-logo {*/ +/* max-width: 50px;*/ +/* max-height: 50px;*/ +/* transform: scaleX(-1);*/ +/* border-radius: 50%;*/ +/* transition: .5s ease, transform 3s cubic-bezier(0,0,.44,1.18);*/ +/*}*/ +/*.company-logo:hover {*/ + +/* transform:scaleX(-1) rotate(90deg) scale(1.10);*/ +/*}*/ +.company-logo { + max-width: 50px; + max-height: 50px; + transform: scaleX(-1); /* Flips the image horizontally */ + border-radius: 50%; + transition: .5s ease, transform 3s cubic-bezier(0,0,.44,1.18); +} + +.company-logo:hover { + transform: scaleX(-1) rotate(-70deg) scale(1.10); /* Maintains flip, rotates clockwise, and scales up */ +} +.top-img { + top: 80px; + position: absolute; + opacity: 40%; + max-height: 600px; + width: 98%; + z-index: -1; + +} +.coffee-id { + display: none; + +} + +.searchByName { + position: relative; + z-index: 1; + width: 250px; + height: 30px; + border: 2px solid var(--transition-clr-blue); + border-radius: 25px; +} + +.searchByName::placeholder { + color: var(--transition-clr-blue); + padding-left: 10px; +} + +#roast-selection { + color: var(--transition-clr-blue); + border-radius: 25px; + +} + +.roast-selection-btn { + + height: 50px; + background-color: var(--transition-clr-blue); + border: 2px solid var(--transition-clr-blue); + border-radius: 8px; + font-size: 15px; + font-weight: 600; + letter-spacing: 1px; + padding: 5px; + transition: .5s ease, transform 3s cubic-bezier(0,0,.44,1.18); + position: relative; + z-index: 1; +} + +.roast-selection-btn:hover { + + transform: scale(1.10); + background-color: var(--primary-dark); + color: var(--transition-clr-blue); +} + +.sign-in-btn { + width: 100px; +} + +.bean-roast { + color: var(--transition-clr-blue); + font-size: 11px; +} + +.social-media-nav { + width: 345px; + height: 50px; +} +footer { + position: relative; + bottom: 0; + left: 0; + /*height: 50px;*/ + width: 100%; + padding: 10px 10px; + background-color: var(--primary-dark); + z-index: 9; + font-size: 12px; + color: var(--primary-ligth); + font-weight: 600; + text-align: center; + padding: 0px; +} +.social-media-nav a, +.a-btn { + position: relative; + display: flex; + justify-content: center; + align-items: center; + width: 110px; + height: 50px; + background-color: var(--transition-clr-blue); + border: 2px solid var(--transition-clr-blue); + border-radius: 8px; + font-size: 13px; + color: var(--primary-dark); + font-weight: 600; + letter-spacing: 1px; + z-index: 1; + overflow: hidden; + transition: .5s; +} + +.social-media-nav a:hover { + color: var(--transition-clr-blue); +} + +.social-media-nav a:nth-child(2) { + background: transparent; + color: var(--transition-clr-blue); +} + +.social-media-nav a:nth-child(2):hover { + color: var(--primary-dark); + +} + +.social-media-nav a:nth-child(2)::before { + background: var(--transition-clr-blue); +} + +.social-media-nav a::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 0; + height: 100%; + background: var(--primary-dark); + z-index: -1; + transition: .5s; +} + +.social-media-nav a:hover::before { + width: 100%; +} + +.location.gentle-tilt-move-shake:hover, +.gentle-tilt-move-shake:hover { + animation: tilt-n-move-shaking 0.25s infinite; +} + + + +/**********************************BOOK TABLE PAGE**********************************/ + +.book-table { + border: 2px solid white; + text-align: center; + padding: 70px 30px; + border-radius: 3%; + +} + +.a-btn { + width:150px; + color: var(--primary-dark); +} + +.a-btn:hover { + color: var(--transition-clr-blue); + background-color: var(--primary-dark); +} + +.glitch { + position: relative; + font-size: 100px; + font-weight: bold; + color: #FFFFFF; + letter-spacing: 3px; + z-index: 1; +} + +.glitch:before, +.glitch:after { + display: block; + content: attr(data-text); + position: absolute; + top: 0; + left: 0; + opacity: 0.8; +} + +.glitch:before { + animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite; + color: #00FFFF; + z-index: -1; +} + +.glitch:after { + animation: glitch-it 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite; + color: #FF00FF; + z-index: -2; +} + + +/**********************************ABOUT US PAGE*****************************/ + +#not-starbucks:hover { + visibility: hidden; + position: relative; + +} + +#not-starbucks:hover:after{ + visibility: visible; + position: absolute; + top: 0; + left: 0; + content: "!!!!!!!!" +} + +.about-us-text { + line-height: 3vh; +} + +/**********************************KEYFRAME**************************************/ + + + +@keyframes tilt-n-move-shaking { + 0% { transform: translate(0, 0) rotate(0deg); } + 25% { transform: translate(5px, 5px) rotate(5deg); } + 50% { transform: translate(0, 0) rotate(0deg); } + 75% { transform: translate(-5px, 5px) rotate(-5deg); } + 100% { transform: translate(0, 0) rotate(0deg); } +} + +@keyframes glitch-it { + 0% { transform: translate(0);} + 20% { transform: translate(-2px, 2px);} + 40% { transform: translate(-2px, -2px);} + 60% { transform: translate(2px, 2px);} + 80% { transform: translate(2px, -2px);} + to { transform: translate(0);} +} \ No newline at end of file diff --git a/images/blue-coffee-bg.jpg b/images/blue-coffee-bg.jpg new file mode 100644 index 000000000..efb2213ec Binary files /dev/null and b/images/blue-coffee-bg.jpg differ diff --git a/images/bx-map.svg b/images/bx-map.svg new file mode 100644 index 000000000..ce4e83c28 --- /dev/null +++ b/images/bx-map.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/coffee-fabicon.png b/images/coffee-fabicon.png new file mode 100644 index 000000000..c210671de Binary files /dev/null and b/images/coffee-fabicon.png differ diff --git a/images/logo.jpg b/images/logo.jpg new file mode 100644 index 000000000..67d9f464c Binary files /dev/null and b/images/logo.jpg differ diff --git a/images/logo1.png b/images/logo1.png new file mode 100644 index 000000000..36199afb7 Binary files /dev/null and b/images/logo1.png differ diff --git a/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/Vecteezy-License-Information.pdf b/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/Vecteezy-License-Information.pdf new file mode 100644 index 000000000..bf8503e9b Binary files /dev/null and b/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/Vecteezy-License-Information.pdf differ diff --git a/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/coffeepot_026.eps b/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/coffeepot_026.eps new file mode 100644 index 000000000..5e3da2e95 Binary files /dev/null and b/images/vecteezy_coffee-pot-hot-drink-cartoon-illustration_553500/coffeepot_026.eps differ diff --git a/index.html b/index.html index 0d5208117..e7f14f90f 100644 --- a/index.html +++ b/index.html @@ -2,33 +2,120 @@ - - + Not Starbucks Coffee Shop + + -

Coffee!

- -
- - - -
- - - - - - - - - - -
IDNAMEROAST
- - +
+ + + + + +
+
+
+ coffee-cups +
+
+
+ + + + + +
+
+
+ + + +
+ +
+
+
+
+
+ +

Select by Roast

+ + +
+
+
+ + + + + + + +
+ + diff --git a/join-us.html b/join-us.html new file mode 100644 index 000000000..6a3ecdee0 --- /dev/null +++ b/join-us.html @@ -0,0 +1,100 @@ + + + + + + + ! Join Us + + + + + +
+
+
+ + +
+
+ + + +
+
+
+ +
+ +

! Welcome

+ +
+ +
+
+
+
+ +

Sign Up

+

Please fill in this form to create an account.

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

By creating an account you agree to our Terms & Privacy.

+ +
+ + +
+
+
+
+
+
+
+
+ +
+ + + + + \ No newline at end of file diff --git a/js/main.js b/js/main.js new file mode 100644 index 000000000..04ed87c3f --- /dev/null +++ b/js/main.js @@ -0,0 +1,60 @@ +function renderCoffee(coffee) { + let html = `
+ +

Coffee id: ${coffee.id}.

+

${coffee.name}

+

Bean Roast: ${coffee.roast}

+
+
`; + return html; +} + +function renderCoffees(coffees) { + let html = ''; + coffees.forEach(function(coffee) { + html += renderCoffee(coffee); + }); + return html; +} + +function updateCoffees() { + let selectedRoast = roastSelection.value; + let filteredCoffees = coffees.filter(coffee => coffee.roast === selectedRoast || selectedRoast === "all"); + coffeeListDiv.innerHTML = renderCoffees(filteredCoffees); +} + +function searchCoffees() { + let searchRoast = searchBox.value.toLowerCase(); + let filteredCoffees = coffees.filter(coffee => coffee.name.toLowerCase().includes(searchRoast)); + coffeeListDiv.innerHTML = renderCoffees(filteredCoffees); +} + +// Coffee data +let coffees = [ + {id: 1, name: 'Light City', roast: 'light'}, + {id: 2, name: 'Half City', roast: 'light'}, + {id: 3, name: 'Cinnamon', roast: 'light'}, + {id: 4, name: 'City', roast: 'medium'}, + {id: 5, name: 'American', roast: 'medium'}, + {id: 6, name: 'Breakfast', roast: 'medium'}, + {id: 7, name: 'High', roast: 'dark'}, + {id: 8, name: 'Continental', roast: 'dark'}, + {id: 9, name: 'New Orleans', roast: 'dark'}, + {id: 10, name: 'European', roast: 'dark'}, + {id: 11, name: 'Espresso', roast: 'dark'}, + {id: 12, name: 'Viennese', roast: 'dark'}, + {id: 13, name: 'Italian', roast: 'dark'}, + {id: 14, name: 'French', roast: 'dark'}, +]; + + +let coffeeListDiv = document.querySelector('#coffees'); +let roastSelection = document.querySelector('#roast-selection'); +let searchBox = document.querySelector('#searchByName'); + +// Initialize the coffee list +coffeeListDiv.innerHTML = renderCoffees(coffees); + +// Event Listeners +roastSelection.addEventListener('change', updateCoffees); +searchBox.addEventListener("keyup", searchCoffees); diff --git a/layout.css b/layout.css new file mode 100644 index 000000000..de4c81ebd --- /dev/null +++ b/layout.css @@ -0,0 +1,289 @@ +/* + The "page wrapper" is the outermost container for the page. It mimics + the behavior of the body tag, but is a container element so that it can be styled + with more flexibility than the body tag. +*/ +.page-wrapper { + display: flex; + flex-direction: column; + min-height: 100vh; +} + +/* + The "container", sometimes referred to as a "section", is a container + element (semantic when applicable) that vertically separates different + areas on the page based on their purpose or topic. It can allow different + background colors and properties for each section that help users associate + content within it as belonging to the same subject. +*/ +.container { + display: flex; + flex-direction: column; + align-items: center; + +} + +/* + The "row" is a container element that horizontally separates its + children, which are usually columns. It also performs a secondary role + of keeping the content of the site within a reasonable width, so that + wider screens don't disrupt the intended layout. +*/ +.row { + display: flex; + width: 100%; + max-width: 1100px; + padding: 0 20px; +} +.row.full-with{ + max-width: unset; + +} +.row.no-padding{ + padding: unset; +} +/* + The "column" is a container element that vertically separates its + children, which are usually content elements. When paired with sibling columns, + it allows for the creation of a flexible grid system that can be used + to create a variety of layouts. +*/ +.column { + display: flex; + flex-direction: column; + flex: 1 0 0; + order: 0; +} + + +/*THIS IS OUR UTILITY CLASS FOR FLEX PROPERTIES *!*/ +.d-flex { + display: flex; +} +.align-items-center { + align-items: center; +} +.align-items-start { + align-items: start; +} +.align-items-end { + align-items: end; +} +.justify-content-center { + justify-content: center; +} +.justify-content-start { + justify-content: start; +} +.justify-content-end { + justify-content: end; +} +.justify-content-between { + justify-content: space-between; +} +.justify-content-around { + justify-content: space-around; +} +.justify-content-evenly { + justify-content: space-evenly; +} +.flex-wrap { + flex-wrap: wrap; +} +.flex-column { + flex-direction: column; +} +.flex-grow { + flex: 1 0 0; +} +.flex-shrink { + flex: 0 1 auto; +} + +/* PADDING UTILITY CLASS */ +.p-0 { + padding: 0; +} +.p-5 { + padding: 5px; +} +.p-10 { + padding: 10px; +} +.p-15 { + padding: 15px; +} +.p-20 { + padding: 20px; +} +.p-25 { + padding: 25px; +} +.p-30 { + padding: 30px; +} + +.px-0 { + padding-left: 0px; + padding-right: 0px; +} +.px-5 { + padding-left: 5px; + padding-right: 5px; +} +.px-10 { + padding-left: 10px; + padding-right: 10px; +} +.px-15 { + padding-left: 15px; + padding-right: 15px; +} +.px-20 { + padding-left: 20px; + padding-right: 20px; +} +.px-25 { + padding-left: 25px; + padding-right: 25px; +} +.px-30 { + padding-left: 30px; + padding-right: 30px; +} +.py-0 { + padding-top: 0px; + padding-bottom: 0px; +} +.py-5 { + padding-top: 5px; + padding-bottom: 5px; +} +.py-10 { + padding-top: 10px; + padding-bottom: 10px; +} +.py-15 { + padding-top: 15px; + padding-bottom: 15px; +} +.py-20 { + padding-top: 20px; + padding-bottom: 20px; +} +.py-25 { + padding-top: 25px; + padding-bottom: 25px; +} +.py-30 { + padding-top: 30px; + padding-bottom: 30px; +} + +/* MARGIN UTILITY CLASS */ +.m-0 { + margin: 0; +} +.m-5 { + margin: 5px; +} +.m-10 { + margin: 10px; +} +.m-15 { + margin: 15px; +} +.m-20 { + margin: 20px; +} +.m-25 { + margin: 25px; +} +.m-30 { + margin: 30px; +} +.mx-0 { + margin-left: 0px; + margin-right: 0px; +} +.mx-5 { + margin-left: 5px; + margin-right: 5px; +} +.mx-10 { + margin-left: 10px; + margin-right: 10px; +} +.mx-15 { + margin-left: 15px; + margin-right: 15px; +} +.mx-20 { + margin-left: 20px; + margin-right: 20px; +} +.mx-25 { + margin-left: 25px; + margin-right: 25px; +} +.mx-30 { + margin-left: 30px; + margin-right: 30px; +} +.my-0 { + margin-top: 0px; + margin-bottom: 0px; +} +.my-5 { + margin-top: 5px; + margin-bottom: 5px; +} +.my-10 { + margin-top: 10px; + margin-bottom: 10px; +} +.my-15 { + margin-top: 15px; + margin-bottom: 15px; +} +.my-20 { + margin-top: 20px; + margin-bottom: 20px; +} +.my-25 { + margin-top: 25px; + margin-bottom: 25px; +} +.my-30 { + margin-top: 30px; + margin-bottom: 30px; +} + +/* GAP UTILITY CLASSES */ +.gap-0 { + gap: 0px; +} +.gap-5 { + gap: 5px; +} +.gap-10 { + gap: 10px; +} +.gap-15 { + gap: 15px; +} +.gap-20 { + gap: 20px; +} +.gap-25 { + gap: 25px; +} +.gap-30 { + gap: 30px; +} +.gap-35 { + gap: 35px; +} +.gap-40 { + gap: 40px; +} \ No newline at end of file diff --git a/main.js b/main.js deleted file mode 100644 index 043b24824..000000000 --- a/main.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict" - -function renderCoffee(coffee) { - var html = ''; - html += '' + coffee.id + ''; - html += '' + coffee.name + ''; - html += '' + coffee.roast + ''; - html += ''; - - return html; -} - -function renderCoffees(coffees) { - var html = ''; - for(var i = coffees.length - 1; i >= 0; i--) { - html += renderCoffee(coffees[i]); - } - return html; -} - -function updateCoffees(e) { - e.preventDefault(); // don't submit the form, we just want to update the data - var selectedRoast = roastSelection.value; - var filteredCoffees = []; - coffees.forEach(function(coffee) { - if (coffee.roast === selectedRoast) { - filteredCoffees.push(coffee); - } - }); - tbody.innerHTML = renderCoffees(filteredCoffees); -} - -// from http://www.ncausa.org/About-Coffee/Coffee-Roasts-Guide -var coffees = [ - {id: 1, name: 'Light City', roast: 'light'}, - {id: 2, name: 'Half City', roast: 'light'}, - {id: 3, name: 'Cinnamon', roast: 'light'}, - {id: 4, name: 'City', roast: 'medium'}, - {id: 5, name: 'American', roast: 'medium'}, - {id: 6, name: 'Breakfast', roast: 'medium'}, - {id: 7, name: 'High', roast: 'dark'}, - {id: 8, name: 'Continental', roast: 'dark'}, - {id: 9, name: 'New Orleans', roast: 'dark'}, - {id: 10, name: 'European', roast: 'dark'}, - {id: 11, name: 'Espresso', roast: 'dark'}, - {id: 12, name: 'Viennese', roast: 'dark'}, - {id: 13, name: 'Italian', roast: 'dark'}, - {id: 14, name: 'French', roast: 'dark'}, -]; - -var tbody = document.querySelector('#coffees'); -var submitButton = document.querySelector('#submit'); -var roastSelection = document.querySelector('#roast-selection'); - -tbody.innerHTML = renderCoffees(coffees); - -submitButton.addEventListener('click', updateCoffees); diff --git a/sign-in.html b/sign-in.html new file mode 100644 index 000000000..fb5b9c453 --- /dev/null +++ b/sign-in.html @@ -0,0 +1,97 @@ + + + + + + + ! Sign In + + + + + +
+ + + + +
+
+
+ +

! Sign In

+ +
+ + +
+
+
+
+ + + + + + + + + + + + + Forgot password? +
+
+
+
+ + +
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/style.css b/style.css deleted file mode 100644 index cd051aae3..000000000 --- a/style.css +++ /dev/null @@ -1,9 +0,0 @@ -table { - border-collapse: collapse; - margin: 15px 0; -} - -td, th { - border: 1px solid black; - padding: 5px 10px; -}