- 1
Div elements
Can anyone help me with this question? Fill in the blanks to create a new div element with the text “Hi” and insert it before the element with id = “demo”. *** a = $ (“<div></div>”).text(”Hi”);$(“****”).*****(*); The ** represent the blank spaces to fill in! Does anyone have any idea?
12 Respuestas
+ 2
before
content
div
+ 1
var a = $ (“<div></div>”).text(”Hi”);
$(“#demo”).before(a);
+ 1
div:
before
{
content: "***";
}
div
:after {
content: "***";
}
+ 1
Fill in the blanks to hide the element in 1.5 seconds.
$("p").
hide
(
1500
);
0
Just making sure but is this HTML?
I am curious about the style but i have my doubts.
0
jQuery Attributes and contents!
0
yeah, this was a potato mistake by me for assuming that is html... sorry but I am not skilled in this but I can’t wait for the answer to this post.
0
i have 3/4’s of the answer just missing one part!
0
var e = $("<div><
/div
>");
$
("#test").append(
e
);
0
Fill in the blanks to add three stars *** before and after all div elements of the page.
0
fill in the blanks to make equal columns from the div elements, which are wrapped in a <main> element
- 1
no answer here. but apparently this was posted on my half bday...