inline hints behaving weirdly (I think)
Newby. Javascript. My code: <document.createElement(canvas);> (text I type is in<..>) The inline hint "tagName:" appears in a grey rectangle in the editor. So I put the cursor at opening parens, type <ta>. Get a long list of possibilities, NONE of which is tagName:. So I type <tagName:>. This creates an error, and the hint does not go away.
Is this what's supposed to happen?
Thanks
Please sign in to leave a comment.
tagName
here is a parameter name; this method expects a tag name (like"div"
) to be passed as argument, likeSee https://developer.mozilla.org/en-US/docs/Web/API/Document/createElement