You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code needs to be slightly modified to appropriately display "<" less than or ">" greater than signs within the HTML. This issue seems to impact a few of the String exercises. The tests work properly; however, the example results do not appear correctly and can confuse folks. See the following string exercises:
To fix this, I would set these values equal to .textContent as opposed to .innerHTML. Or you could do a replace with HTML entities: .replace('<','<').replace('>','>')
The text was updated successfully, but these errors were encountered:
The code needs to be slightly modified to appropriately display "<" less than or ">" greater than signs within the HTML. This issue seems to impact a few of the String exercises. The tests work properly; however, the example results do not appear correctly and can confuse folks. See the following string exercises:
makeTags: https://the-winter.github.io/codingjs/exercise.html?name=makeTags&title=String-1
Appears like:
Should appear like:
makeOutWord: https://the-winter.github.io/codingjs/exercise.html?name=makeOutWord&title=String-1
Appears like:
Should appear like:
To fix this, I would set these values equal to
.textContent
as opposed to.innerHTML
. Or you could do a replace with HTML entities:.replace('<','<').replace('>','>')
The text was updated successfully, but these errors were encountered: