Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

DoDont

The "Do / Don’t" pair: the right way and the wrong way side by side, each with its why.

On this page

Playground

Do

Verb and object.

Don’t

"OK" does not say what.

Background
HTML
<div class="pair feitio-dodont"><div class="do"><p class="verdict"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-check"></use></svg>Do</p><div class="demo"><button class="feitio-button" type="button" data-variant="primary">Save changes</button></div><p class="why">Verb and object.</p></div><div class="dont"><p class="verdict"><svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-close"></use></svg>Don’t</p><div class="demo"><button class="feitio-button" type="button" data-variant="primary">OK</button></div><p class="why">&quot;OK&quot; does not say what.</p></div></div>

When to use

When not to use

Examples

Do

Save changes

Verb and object.

Don’t

OK

"OK" does not say what.

A pair

The right one on the left, in moss; the wrong one on the right, in wine. Under each, the why in one sentence.

Show code
HTML
<div class="feitio-dodont">
  <div class="do"><p class="verdict">…Faça assim</p><div class="demo">…</div><p class="why">Verbo e objeto.</p></div>
  <div class="dont"><p class="verdict">…Não faça</p><div class="demo">…</div><p class="why">"OK" não diz o quê.</p></div>
</div>

Rules

Attributes

AttributeValuesWhat for
class="feitio-dodont"aroundThe two side by side; on mobile, stacked.
class="do", "dont"each sideMoss for right, wine for wrong.
class="verdict", "demo", "why"the partsThe verdict, the example and the why.
Top