freeCodeCamp/curriculum/challenges/italian/01-responsive-web-design/basic-html-and-html5/fill-in-the-blank-with-plac...

1.5 KiB

id title challengeType videoUrl forumTopicId dashedName
bad87fee1348bd9aedf08833 Riempire il vuoto con il testo segnaposto 0 https://scrimba.com/p/pVMPUv/cgR7Dc7 18178 fill-in-the-blank-with-placeholder-text

--description--

Gli sviluppatori Web tradizionalmente usano lorem ipsum text come testo segnaposto. Il testo del lorem ipsum è tratto a caso da un famoso passaggio di Cicerone dell'antica Roma.

Il testo lorem ipsum è stato utilizzato come testo segnaposto dai tipografi sin dal XVI secolo e questa tradizione continua sul web.

Bene, 5 secoli sono abbastanza lunghi. Dato che stiamo costruendo una CatPhotoApp, usiamo qualcosa chiamato testo "kitty ipsum".

--instructions--

Sostituisci il testo all'interno del tuo elemento p con le prime parole di questo testo kitty ipsum: Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

--hints--

Il tuo elemento p dovrebbe contenere le prime parole del testo "kitty ipsum" fornito.

assert.isTrue(/Kitty(\s)+ipsum/gi.test($('p').text()));

--seed--

--seed-contents--

<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Hello Paragraph</p>

--solutions--

<h1>Hello World</h1>

<h2>CatPhotoApp</h2>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff</p>