← Back to Index

GitHub: edutechtammy

Dev Tools Flipcards Interactive Activity

Interactive cards with a front side that gives the prompt and then a backside for self-check. Features TSTC branding colors, rounded corners, and full accessibility support.

Features

CidiLabs Flip Cards: CidiLabs DesignPLUS Flip Cards are interactive, accessible, and customizable digital flashcards designed to enhance engagement and active recall within the Canvas Learning Management System. They allow instructors to create "purposeful pauses" in learning by displaying content (text or images) that flips over when a student clicks on it.

Key Features and Benefits

Usage in Canvas

The base flip cards template has been adapted so that -- the code gives a row of three of them which has been the typical need. If you need to split out to singles just examine the code and break one out from the row and column portions of the code. -- The front of the cards has an added icon (question mark) to indicate interactivity and it is using the TSTC brand color, Texas Blue.

 


Card 1: Front Card

Card 1: Front Body Text

Card 1: Back Card

Card 1: Back Body Text


Card 2: Front Card

Card 2: FrontBody Text

Card 2: Back Card

Card 2: BackBody Text


Card 3: Front Card

Card 3: Front Body Text

Card 3: Back Card

Card 3: Back Body Text

 

Code Snippet

Canvas Page Wrapper

If you are pasting this into a page that already has work in it, you will likely already have a wrapper in place. If you are starting with an empty page, you will need to add this wrapper. Be sure to place your end div at the end of the code.


<div id="dp-wrapper" class="dp-wrapper dp-flat-sections">

Code Snippet

This is the template code for this activity.

      
  <div class="dp-panels-wrapper dp-tabs-buttons-vertical dp-panel-active-color-dp-secondary dp-panel-color-dp-primary"></div>      
    <div class="dp-column-container container-fluid">
    <div class="row">
        <div class="col-md-4 col-sm-12">
            <div class="dp-flip-card dp-flip-card-fast dp-flip-card-show-both" aria-label="Flip Card" data-front="Front Card" data-back="Back Card">
                <div class="dp-flip-card-inner">
                    <div class="dp-front-card">
                        <div class="dp-card card h-100 cp-bg-dp-primary dp-shadow-r2 mx-auto d-block">
                            <div class="card-body">
                                <h4 class="card-title dp-ignore-theme dp-has-icon"  style="text-align: center;"><i class="dp-icon fas fa-question-circle dp-i-size-large" aria-hidden="true"><span class="dp-icon-content" style="display: none;">&nbsp;</span></i><strong><br /></strong>Card 1: Front Card</h4>
                                <p class="card-text">Card 1: Front Body Text</p>
                            </div>
                        </div>
                    </div>
                <div class="dp-back-card">
                    <div class="dp-card card h-100"">
                        <div class="card-body">
                            <h4 class="card-title dp-ignore-theme">Card 1: Back Card</h4>
                            <p class="card-text">Card 1: Back Body Text</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
        <div class="col-md-4 col-sm-12">
            <div class="dp-flip-card dp-flip-card-fast dp-flip-card-show-both  mx-auto d-block" aria-label="Flip Card" data-front="Front Card" data-back="Back Card">
                <div class="dp-flip-card-inner">
                    <div class="dp-front-card">
                        <div class="dp-card card h-100 cp-bg-dp-primary dp-shadow-r2 mx-auto d-block"">
                            <div class="card-body">
                                <h4 class="card-title dp-ignore-theme dp-has-icon"  style="text-align: center;"><i class="dp-icon fas fa-question-circle dp-i-size-large" aria-hidden="true"><span class="dp-icon-content" style="display: none;">&nbsp;</span></i><strong><br /></strong>Card 2: Front Card</h4>
                                <p class="card-text">Card 2: FrontBody Text</p>
                            </div>
                        </div>
                    </div>
               
                <div class="dp-back-card">
                    <div class="dp-card card h-100">
                        <div class="card-body">
                            <h4 class="card-title dp-ignore-theme">Card 2: Back Card</h4>
                            <p class="card-text">Card 2: BackBody Text</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
        <div class="col-md-4 col-sm-12">
            <div class="dp-flip-card dp-flip-card-fast dp-flip-card-show-both" aria-label="Flip Card" data-front="Front Card" data-back="Back Card">
                <div class="dp-flip-card-inner">
                    <div class="dp-front-card">
                        <div class="dp-card card h-100 cp-bg-dp-primary dp-shadow-r2 mx-auto d-block"">
                            <div class="card-body">
                                <h4 class="card-title dp-ignore-theme dp-has-icon"  style="text-align: center;"><i class="dp-icon fas fa-question-circle dp-i-size-large" aria-hidden="true"><span class="dp-icon-content" style="display: none;">&nbsp;</span></i><strong><br /></strong>Card 3: Front Card</h4>
                                <p class="card-text">Card 3: Front Body Text</p>
                            </div>
                        </div>
                    </div>
               
                <div class="dp-back-card">
                    <div class="dp-card card h-100">
                        <div class="card-body">
                            <h4 class="card-title dp-ignore-theme">Card 3: Back Card</h4>
                            <p class="card-text">Card 3: Back Body Text</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>