Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
388 B
1
Indexable
Never
let item = document.querySelector("#main > div > div > div.col-md-4 > div > div:nth-child(1)")
let ele = document.querySelector("#translateTo-field")
item.innerHTML = "<h1>translation services</h1>"


document.querySelector("#main > div > div > div.col-md-4 > div > div:nth-child(1) > h1").insertAdjacentElement("afterend" , ele)

/** css ***/

li#translateTo-field {
    display: flex;
}