Hey guys, just finished the technical-documentation-page project.
Basically, a CSS documentation page intended to educate people on CSS basics.
Instead of completing it on codepen, I did it on visual studio text editor
and published it on git.
here’s a link to the actual web page: https://razzhimself.github.io/technical-documentation-page/
and here’s a link to the git-hub repo, where you can see the actual code:
Hey , thank you @Roma for the kind words, regarding the (br) element I would like to ask you how can I create specific place where there’s a break and then a new like starts (as that what (br) element does exactly) with CSS?
I have read the MDN documentation but haven’t find an appropriate solution .
Another thing I’m not sure about is that I have used (pre) elements to present code examples in particular order , is it the right practice?
Instead of using <br> elements to have each inline element on a new line use, or set, container elements to be block-level elements so they’ll each take up the full width.
Yes, you can use the pre elements around the code snippets to preserve whitespace and line breaks.