diff --git a/bryantferguson/src/code/index.html b/bryantferguson/src/code/index.html new file mode 100644 index 0000000..4fde827 --- /dev/null +++ b/bryantferguson/src/code/index.html @@ -0,0 +1,36 @@ + + +
+ + +
+
+ The best bar you'll ever visit!
+${item.description}
+${item.price}
+ `; + + menuDisplay.appendChild(menuItem); + }); +} +displayMenu("vodka"); + +buttons.forEach(button => { + button.addEventListener("click", function () { + buttons.forEach(btn => btn.classList.remove("active")); + button.classList.add("active"); + + const selectedCategory = button.dataset.category; + displayMenu(selectedCategory); + }); +}); diff --git a/bryantferguson/src/code/style.css b/bryantferguson/src/code/style.css new file mode 100644 index 0000000..45978bd --- /dev/null +++ b/bryantferguson/src/code/style.css @@ -0,0 +1,100 @@ +*{ + box-sizing: border-box; + margin: 0; + padding: 0; +} + +body { + font-family: Arial, sans-serif; + background-color: #1F456E; + color: orange; + line-height: 1.6; + padding: 20px; + font-style: normal; + font-family: "Times New Roman", Times, serif; +} + +.hero { + text-align: center; + margin-bottom: 30px; + color: goldenrod; +} + +.logo { + width: 150px; + height: 150px; + margin-bottom: 20px; +} + +.hero h1 { + font-size: 2.5rem; + margin-bottom: 10px; +} + +.hero p { + font-size: 1.1rem; + color: goldenrod; +} + +.menu-controls { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + margin-bottom: 30px; +} + +.menu-btn { + padding: 12px 18px; + border: none; + background-color: goldenrod; + color: white; + border-radius: 8px; + cursor: pointer; + font-size: 1rem; +} + +.menu-btn:hover { + background-color: orange; +} + +.menu-btn.active { + background-color: #d97706; +} + +.menu-section { + max-width: 900px; + margin: 0 auto; +} + +#menu-title { + text-align: center; + margin-bottom: 20px; +} + +#menu-display { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); + gap: 20px; +} + +.menu-item { + background-color: white; + border-radius: 10px; + padding: 18px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); +} + +.menu-item h3 { + margin-bottom: 8px; +} + +.menu-item p { + margin-bottom: 10px; + color: goldenrod; +} + +.price { + font-weight: bold; + color: #d97706; +} \ No newline at end of file diff --git a/bryantferguson/src/images/B.jpg b/bryantferguson/src/images/B.jpg new file mode 100644 index 0000000..bd6367b Binary files /dev/null and b/bryantferguson/src/images/B.jpg differ diff --git a/bryantferguson/src/images/Screenshot.png b/bryantferguson/src/images/Screenshot.png new file mode 100644 index 0000000..1f4e223 Binary files /dev/null and b/bryantferguson/src/images/Screenshot.png differ