At this point prevSibling may be something other than a blank space. Please rethink the if condition above (did you forget to put parens around ```prevSibling === null || prevSibling.nodeValue.trim().length === 0```?