Creates interactive matching exercises where users connect questions to answers by drawing lines. Supports one-to-one and one-to-many matching with visual feedback and automatic shuffling.
Wrap a table with class .line-matching containing a figure.table element. Each row represents a question-answer pair. The table is automatically converted into an interactive matching interface.
.line-matching - Main container (required).left-order - Keeps questions in original order, shuffles answers<figure class="table"> - Required wrapper for the data table<thead> - Optional headers for questions and answers<tbody> - Contains the question-answer pairs| Programming Language | Primary Use |
|---|---|
| JavaScript | Web Development |
| Python | Data Science |
| Java | Enterprise Applications |
| C++ | System Programming |
| Category | Examples |
|---|---|
| Web Technologies | HTML |
| Web Technologies | CSS |
| Web Technologies | JavaScript |
| Programming Languages | Python |
| Programming Languages | Java |
| Question | Answer |
|---|---|
| What is HTML? | HyperText Markup Language |
| What is CSS? | Cascading Style Sheets |
| What is JavaScript? | A programming language for web development |
| Image | Description |
|---|---|
![]() |
Damaged Log |
![]() |
Mill Machine |
![]() |
Warning Signpost |
| Software Development Phase | Activities |
|---|---|
| Planning | Requirements gathering |
| Planning | Project scope definition |
| Design | System architecture |
| Design | Database design |
| Implementation | Code development |
| Testing | Unit testing |
| Testing | Integration testing |
| Deployment | Production release |
.left-order to keep questions in original order while shuffling answers.left-order