Skip to content
Home >
Smokin’ in the Neighborhood
document.addEventListener("DOMContentLoaded", function() {
const flowchart = document.getElementById("flowchart");
flowchart.innerHTML = `
How do you plan to use your Lang BBQ Smoker?
What cooking capacity do you need?
Do you need a trailer-mounted smoker?
Are you catering or running a restaurant?
We recommend the Lang 36” Patio. Perfect for backyard BBQ enthusiasts.
Consider the Lang 48” Deluxe. Ideal for bigger gatherings.
The Lang 60” or 84” Trailer is perfect for competitions.
Check out the Lang 48” Hybrid. Compact yet competition-ready.
The Lang 108” Smoker is great for high-volume cooking.
The Lang 84” Fat Boy is a top choice for catering.
`;
});
function nextQuestion(id) {
document.querySelectorAll(".question, .result").forEach(q => q.classList.add("hidden"));
document.getElementById(id).classList.remove("hidden");
}
function prevQuestion(id) {
document.querySelectorAll(".question, .result").forEach(q => q.classList.add("hidden"));
document.getElementById(id).classList.remove("hidden");
}
// Enhancements for responsiveness, animations, and UI
const style = document.createElement("style");
style.innerHTML = `
#flowchart {
max-width: 600px;
margin: auto;
font-family: Arial, sans-serif;
text-align: center;
}
.question, .result {
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
border-radius: 10px;
background: #f8f8f8;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
transition: opacity 0.5s ease-in-out;
}
.hidden {
display: none;
}
button {
background-color: #0073e6;
color: white;
border: none;
padding: 10px 20px;
margin: 10px;
border-radius: 5px;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background-color: #005bb5;
}
img {
width: 80%;
max-width: 300px;
margin-top: 10px;
border-radius: 5px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
`;
document.head.appendChild(style);