An array of words for highlighting must contain only plain words. Do not include extra information like role labels in parentheses. The system looks for exact word matches in the sentence.
By Pawan Nayar · from the LLOS AI Learning record
An array of words for highlighting must contain only plain words.
Do not include extra information like role labels in parentheses. The system looks for exact word matches in the sentence.
The system highlights words in a sentence. It uses a list of words to find matches. Each word in the list must exactly match a word in the sentence. If the list includes extra text, like words in parentheses, the system will not find a match. This means the word will not be highlighted. Tooltips will also not appear.
A developer creates a lesson. The lesson has a sentence: 'The student learns quickly.' The developer wants to highlight 'learns'. If the developer lists the word as 'learns (verb)', the system will not find 'learns (verb)' in the sentence. The word 'learns' will not be highlighted. If the developer lists the word as 'learns', the system will highlight it correctly.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
A card must never change its size. The content inside the card must fit the card.
A developer should list all elements that will be inside the card. The developer must find the longest possible text for each element from real data.
A developer must treat mobile and desktop as two separate apps. They should use media queries to define distinct CSS layouts for each.
An introductory screen should be completely removed from the active layout. This means using a method like `display: none` in web development.
An array of words for highlighting must contain only plain words. Do not include extra information like role labels in parentheses. The system looks for exact word matches in the sentence.