Hello there,
I wanted to know a little about your way of building a page in Weweb : currently, I’m building a page thanks to some divs, that are included in some containers, that are included in some section.
Is it right/wrong ? How do you do ?
Looking forward to hearing from you
Hi @Corner
That sounds perfect
What other options did you have in mind?
Some general guidelines I would keep in mind:
- keep the number of elements lean in your layout (the HTML tree equivalent in standard code), a crowded page hurts user experience and performance
- whenever possible, try using multi-page sections to optimize the performance of your app
- conditional rendering is your friend
Hi @Joyce, thanks for quick reply !
That’s my point, I didn’t really know how to build a page and struggled to understand difference of use between containers, divs, flexboxes, sections etc, but happy to hear that this is the good hierarchy to build page !
Regarding your first your point, this is where the web design science takes place right ? Having just the right amount of information on a page. I will thus make sure of this.
I will also read about multi-page sections and conditional rendering.
Thank you
Last quick question : what is the difference between a multi-page sections and reusable component (displayed in green) ?