-
Please answer the questions below with the jQuery expression only. For example: for $('selector') just enter selector.
Then press the check button to see the result. If your answer is right the text field will appear in green color.
$('selector').addClass('highlight').animate({ marginLeft: 10}, 'fast');
<div id="myid">
. It is followed by a horizontal rule.This is a paragraph, which means it is wrapped in <p>
and </p>
. Those "p" tags in the previous sentence are formatted as <code>
.
<li>
) in an unordered list (<ul>
). class
of "myclass otherclass"<p class="myclass">
This is another paragraph. It has class="myclass" Otherwise, nothing special about it at all.
This is a paragraph, which means it is wrapped in <p>
and </p>
. Those "p" tags in the previous sentence are formatted as <code>.
(c) 2012 by Matthias Fischer