I am really confused | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I am really confused

Hello guys, I am new here and learning HTML. I am really confused about structure of the page. Should I use section, aside, div or article? Which one is parents and which ones are children.? I want to create a blog but I don’t know how to organize stuff! Also, the “container “ class! Where should I use it? Thank you

19th May 2020, 11:23 PM
Fog
2 Answers
+ 6
Check this code and it's structure : https://code.sololearn.com/WuMUi2j3APjG/?ref=app However, you use the class 'container' when you want to put in something inside it. You can compare it with a real life container. If you want more examples, let me know :))
20th May 2020, 12:56 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
but in your page there is no container I guess and for nav bar you used <a> instead of <ul>.
20th May 2020, 1:52 AM
Fog