⊗jqDmAM 53 of 113 menu

The append method in jQuery

The append method allows you to add text to the end of elements.

Below is the paragraph:

<p>text</p>

Now we write the following Javascript code:

$('p').append('<b>!!!</b>');

HTML the code will look like this:

<p>text<b>!!!</b></p>

Inside each h2, insert '?' at the end.

Inside each h2, insert '!' at the beginning, and insert '?' at the end, and color all h2 red. Do this all in one chain.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline