JSFiddle - React, Tailwind, and code Playground

JavaScript

var myURI = encodeURI("Collection: 9 Bad Interviews With Former GOP Presidential Candidates");
document.write("<b>Correct URI: </b>" + myURI + "<br /><br />");
    
document.write("<b>Successfully decoded URI: </b>" + decodeURI(myURI));