- 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 RĂ©ponses
+ 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...