Please help me to solve it out

https://codepen.io/Huma-Arzoo/pen/VwaKodE

Each element with the class of “main-section” should also have an id comprised of the innerText contained within it, with underscores in place of spaces. The id may include special characters if there are special characters in the respective innerText. (e.g. The that contains the header, “JavaScript & Java”, should have a corresponding id=“JavaScript_&_Java”).

2 posts were merged into an existing topic: I have fixed my some error but not all .please help me how to fixed