I created this page in Sololearn, and I want to know what you guys think!
Don’t use the <br>
tag to force line breaks. Nest multi-line <code>
snippets in <pre> </pre>
tags in HTML to preserve whitespace and line breaks. Or you could do
code {
white-space: pre;
}
in CSS and skip the <pre>
tag in HTML.
Ok, I’ll that next time, albeit what’s wrong with <br>
tag?
Here’s a good article…