This is on ANKI, I have the tags surrounding the Source by containing the Source in a floating text box. I want the tags to start at the base of the screen (Like the source) but it's not behaving.
The Tags (In Blocks) and where I want them to be (Highlighted in Red)
I'm trying to get the tags into the red highlighted zone (next to the Source) but I am having difficulty, here's the code:
Front Code:
{{#Tags}}
{{Tags}}
var tagContainer = document.getElementById("tags-container")
if (tagContainer.childElementCount == 0) {
var tagList= tagContainer.innerHTML.split(" ");
var kbdList = [];
var newTagContent = document.createElement("div");
for (var i = 0; i < tagList.length; i++) {
var newTag = document.createElement("kbd");
newTag.innerHTML = tagList[i];
newTagContent.append(newTag)
}
tagContainer.innerHTML = newTagContent.innerHTML;
tagContainer.style.cursor = "default";
}