69 of 100 menu

JavaScript Workbook Level 7.9

Given a paragraph and input. The paragraph contains words separated by spaces. A word is entered into the input. After losing focus, check whether such a word is in the paragraph, and if not, add it.

Write a program that will generate the following string:

'-1-12-23-34-45-'

Write a program that will generate the following array:

[ 12, 34, 56, 78, 90, ]

The following layout is given:

<a href="1.html">111</a> <a href="2.html">222</a> <a href="3.html">222</a>

Get the contents of the addresses and link texts in the form of the following structure:

[ { text: '111', href: '1.html', }, { text: '222', href: '2.html', }, { text: '333', href: '3.html', }, ]
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