Let’s work out the renderSectionHeader
method. It should return the Text
element.
Display the section’s menuSection
property as inner text.
Hint: the renderSectionHeader
argument will be an object with a section
field, the value of which will be an element of the sectionsData
array.
Output the text in uppercase (convert with JS).
Horizontal padding should be 10, top padding should be 30.
Font size - 30, text should be bold, text color - #E3771C
.
This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.