GoConqr has a new look! Let us know what you think.

Module 9 of 28 · Media

Render a single outer element

Kostas Diakogiannis

Render a single outer element

Wrapping one outer element

The answer is unfortunately still no. Every component must return ONE single outer element, whatever is inside can go as deep as you want. But outside is going to be only one wrapper element.

So we could re-write this functionality exactly like the image suggests, by wrapping everything inside a div. This will work because this component now returns only one element as a root element.

 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?