FAQ section

FAQ 섹션

A collapsible list of common questions placed near the end of the page to clear remaining objections.

Also known as: Frequently asked questionsFAQ accordion
···
html
<div class="faq" id="faq">
  <div class="item open"><div class="q"><span>Can I cancel anytime?</span><i class="chev"></i></div><div class="a"><div><p>Yes — cancel from account settings, no questions asked.</p></div></div></div>
  <div class="item"><div class="q"><span>Do you offer refunds?</span><i class="chev"></i></div><div class="a"><div><p>Full refund within 14 days of your first charge.</p></div></div></div>
  <div class="item"><div class="q"><span>Does it integrate with Slack?</span><i class="chev"></i></div><div class="a"><div><p>Yes, plus 20+ other tools via our API.</p></div></div></div>
  <div class="item"><div class="q"><span>Is there a free plan?</span><i class="chev"></i></div><div class="a"><div><p>A free tier covers up to 3 projects.</p></div></div></div>
</div>
css
.faq{width:min(90%,640px);display:flex;flex-direction:column;gap:clamp(5px,1.2vmin,8px)}
.item{background:var(--surface);border:1px solid var(--line);border-radius:8px}
.q{display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:clamp(6px,1.6vmin,12px) clamp(8px,2vmin,16px);font-size:clamp(8px,1.6vmin,12px);font-weight:700}
.chev{width:clamp(6px,1.2vmin,9px);height:clamp(6px,1.2vmin,9px);border-right:2px solid var(--muted);
  border-bottom:2px solid var(--muted);transform:rotate(45deg);transition:transform .3s;flex:none}
.item.open .chev{transform:rotate(-135deg)}
.a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s ease}
.item.open .a{grid-template-rows:1fr}
.a>div{overflow:hidden}
.a p{margin:0;padding:0 clamp(8px,2vmin,16px);font-size:clamp(7px,1.3vmin,10px);color:var(--muted)}
.item.open .a p{padding-bottom:clamp(6px,1.6vmin,12px)}
js
const items = document.querySelectorAll('#faq .item');
let i = 0;
setInterval(function () {
  items.forEach(function (it) { it.classList.remove('open'); });
  items[i % items.length].classList.add('open');
  i++;
}, 2200);

Usually sits late in the page, right above the pricing table or the closing CTA band. Showing every answer at once makes the page long, so questions collapse into an `accordion`, expanding one (or a few) at a time.

The best source for these questions is real sales or support data — objections like "do you offer refunds" or "does this integrate with X" are what actually stall a purchase decision. Questions that just re-summarize the product pitch don't belong here.

Past about ten questions, group them by category or add a search box. An answer that just says "see the docs for details" with no real content erodes trust instead of building it.

When to use

Use when there are real remaining doubts right before a purchase decision. With fewer than three questions, a plain list works without the accordion.