+ 3

How did the creator(s) of the HTML Fundamentals Course managed to put the <aside> box beside the <article> box?

I was scrolling through the HTML5 module in the aforementioned course. In a picture in the "HTML5 Page Structure" lesson, I saw the <aside> box positioned beside the <article> box. I got interested in this and began to try putting the <aside> box beside the <article> box in my computer. However, I didn't succeed until now. Does someone know how to do this? Bonus: Did I used the word "aforementioned" correctly? I'm not an english native speaker...

12th May 2018, 12:05 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
4 odpowiedzi
+ 5
If possible, please provide a Minimal, Complete, and Verifiable code @ Code Playground so we can help you to take a look on the code. 😉 P/S: Your English is above average as non-native English speaker! 👍
12th May 2018, 12:21 AM
Zephyr Koo
Zephyr Koo - avatar
+ 5
The question is what behavior do you expect from it. <aside> by default represents a part of the text that is indirectly related to the content, so using it within <article> is correct. On the other hand, as far as I know, browsers do not assign a special style to the element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
12th May 2018, 2:30 AM
Mickel
Mickel - avatar
+ 3
(As far as I can tell) I think it won't help... Webpages display differently when I open them in PC and in Android... and I coded in my computer
12th May 2018, 12:24 AM
Ibaadi Jaya
Ibaadi Jaya - avatar
+ 3
Thank you all!
12th May 2018, 3:55 AM
Ibaadi Jaya
Ibaadi Jaya - avatar