The DOM represents the current page as nodes and properties. Select the node you mean, then change the property that matches your intent. textContent inserts text; innerHTML parses markup. Those operations are not interchangeable when a contact name contains angle brackets. Boolean properties need similar care: disabled false enables a control, but an attribute containing the text false still counts as present. You'll create rows, preserve existing classes, and update properties from the supplied fixture. Repeated display names are separate records. Keep their identifiers distinct and inspect the whole resulting list rather than only the first visible label.