The non-abstract class '_RenderSlider Element' is missing implementations for these members: - RenderObject Element.insertChild RenderObject code example
Example 1: js insertbefore
let insertedNode = parentNode.insertBefore(newNode, referenceNode)
Example 2: js insert before
const alert_box = document.createElement("div")
alert_box.innerText = "Not allowed!";
alert_box.className = "alert";
const cont = document.querySelector(".container");
const prof = document.getElementById("profile");
cont.insertBefore(alert_box, prof);