I was trying to use the javascript magic commands in a jupyter notebook to modify some html on vscode, but it didn't work. is there a way to make it work? Here is what im trying to do.
%%html
<div id="test">Hello</div>
%%javascript
document.getElementById("test") = "Hello js"
Images of the notebooks.