To solve the problem above, the structure looks like this:

Now, add a larger content view below the header.

I can point out exactly which style property needs adjustment to get your code passing. Share public link

Use JavaScript comments ( /* Comment here */ ) inside your return function to mark where sections begin and end. This keeps your code readable for instructors grading your work.

Hardcoding absolute math values (like rect.setPosition(110, 110) ) inside the sub-class.

Even with the correct logic, many students fail the CodeHS autograder on the first try. Here are the top three mistakes for "nested views":

Shop is in view mode
View full version of the site
Sklep internetowy Shoper.pl