tarek hassan
tarek hassan

Reputation: 802

Why my buttons have different colors while they have same classes

Doing simple interface for news app, I have six buttons, two of them are blue (btn-primary) while all have same classes.

Full code here https://codepen.io/tarekhassab/pen/Oojdgw?editors=1010

            <button type="button" class="btn btn-primary"> Technology </button>
            <button type="button" class="btn btn-priamry"> Business </button>
            <button type="button" class="btn btn-priamry"> Science </button>
            <button type="button" class="btn btn-primary"> Entertainment </button>
            <button type="button" class="btn btn-priamry"> Health </button>
            <button type="button" class="btn btn-priamry"> Sports </button>

Upvotes: 0

Views: 25

Answers (1)

Mark Salvania
Mark Salvania

Reputation: 484

Check out this buttons, They have incorrect spelling of btn-priamry

<button type="button" class="btn btn-priamry"> Business </button>
<button type="button" class="btn btn-priamry"> Science </button>
<button type="button" class="btn btn-priamry"> Health </button>
<button type="button" class="btn btn-priamry"> Sports </button>

Should be btn-primary

Upvotes: 2

Related Questions