kQuery
sandbox
Open your browser console and type a
kQuery
instruction or click the buttons below to run the corresponding code
kQuery(".pink").find(".square_title").style({ border: "1px solid blue"})
kQuery("div.green").replaceWith(kQuery("p.pink"))
kQuery(".green").replaceWith(kQuery(".blue")).style({ color: "blue"})
console.log(kQuery("p").get())
kQuery("*").style({ color: "red" })
kQuery("#item1").remove()
kQuery("*").remove()
div#item1.square.blue
div#item2.green
div#item3.square.gray
div#item4.square.yellow
div#item5.square.pink
p#item6.square.gray
p#item7.pink
p#item8.square.yellow
p#item9.square.blue
p#item10.square.green