diff --git a/CSS/style.css b/CSS/style.css new file mode 100644 index 000000000..611145083 --- /dev/null +++ b/CSS/style.css @@ -0,0 +1,69 @@ + +body { + background-image: url("Img/coffee.jpg"); + background-size: cover; + background-repeat: no-repeat; + background-attachment: fixed; + margin: 0; + padding: 0; + font-family: 'Merriweather Sans', sans-serif; + +} + +nav { + background-color: #FFDAB9; +} + +/*HIDING SPECIFIC ID'S AND THE ID NUMBERS THEMSELVES HERE*/ +#coffees td:first-child { + display: none; +} + +#coffee-id { + display: none; +} + + +.card { + max-block-size: max-content; +} + +.card-body { + font-size: x-large; + background-color: blanchedalmond; + color: #EADDCA; + opacity: .7; + +} +section { + color: black; +} +#coffee-pour { + bottom: 4px; + right: 4px; + position: fixed; + width: 30em; +} + +form { + display: inline-table; +} + +.roast-label { + font-size: x-large; +} +#roast-selection { + margin-bottom: 13px; +} + +.mini-card-div { + min-height: 120px; +} + +.mini-card-body { + width: 300px; + margin-left: 25px; +} +#coffee-pour { + z-index: -1; +} \ No newline at end of file diff --git a/Img/coffee.jpg b/Img/coffee.jpg new file mode 100644 index 000000000..b1ee20959 Binary files /dev/null and b/Img/coffee.jpg differ diff --git a/Img/coffee2.jpg b/Img/coffee2.jpg new file mode 100644 index 000000000..dec656ca1 Binary files /dev/null and b/Img/coffee2.jpg differ diff --git a/Img/pouring-coffee.gif b/Img/pouring-coffee.gif new file mode 100644 index 000000000..19a534ccc Binary files /dev/null and b/Img/pouring-coffee.gif differ diff --git a/JS/main.js b/JS/main.js new file mode 100644 index 000000000..55ff3c785 --- /dev/null +++ b/JS/main.js @@ -0,0 +1,118 @@ +"use strict" +// ADDED A COUNTER TO ALLOW INCREMENTING OF ID +let counter = 15; + +function renderCoffee(coffee) { + let html = '
${coffee.id || counter++}
`; + html += `${coffee.name}
`; + html += `${coffee.roast}
`; //p tag + html += '+ +
+
+
+