--- id: 61438ec09438696391076d6a title: Step 11 challengeType: 0 dashedName: step-11 --- # --description-- Sotto l'elemento `.heading`, crea un nuovo elemento `section` con l'attributo `class` impostato su `text`. All'interno, crea un elemento `p` con l'attributo `class` impostato su `first-paragraph` e il seguente testo: ```markup Soon the freeCodeCamp curriculum will be 100% project-driven learning. Instead of a series of coding challenges, you'll learn through building projects - step by step. Before we get into the details, let me emphasize: we are not changing the certifications. All 6 certifications will still have the same 5 required projects. We are only changing the optional coding challenges. ``` # --hints-- Dovresti creare un nuovo elemento `section`. ```js assert(document.querySelectorAll('section')?.length === 2); ``` Il nuovo elemento `section` dovrebbe trovarsi dopo l'elemento `.heading`. ```js assert(document.querySelectorAll('section')?.[1]?.previousElementSibling?.className === 'heading'); ``` Il nuovo elemento `section` dovrebbe avere l'attributo `class` impostato su `text`. ```js assert(document.querySelectorAll('section')?.[1]?.className === 'text'); ``` Dovresti creare un nuovo elemento `p` all'interno dell'elemento `.text`. ```js assert(document.querySelector('.text')?.querySelectorAll('p')?.length === 1); ``` Il nuovo elemento `p` dovrebbe avere l'attributo `class` impostato su `first-paragraph`. ```js assert(document.querySelector('.text p')?.className === 'first-paragraph'); ``` Il nuovo elemento `p` dovrebbe avere il testo fornito. ```js assert(document.querySelector('.first-paragraph')?.innerText === 'Soon the freeCodeCamp curriculum will be 100% project-driven learning. Instead of a series of coding challenges, you\'ll learn through building projects - step by step. Before we get into the details, let me emphasize: we are not changing the certifications. All 6 certifications will still have the same 5 required projects. We are only changing the optional coding challenges.'); ``` # --seed-- ## --seed-contents-- ```html Magazine
freecodecamp logo

OUR NEW CURRICULUM

Our efforts to restructure our curriculum with a more project-based focus

By freeCodeCamp

March 7, 2019

--fcc-editable-region-- --fcc-editable-region--
``` ```css ```