I finished fourth project:
Technical Documentation Page codepen
I would be grateful for your feedback.
Your page looks good @serghei01. Some things to revisit;
- Do not use the
<br>
element to force line breaks or spacing. That’s what CSS is for.- Reference MDN Docs
- You can nest those
code
snippets in an HTML element to preserve whitespace and line breaks. I’ll leave it to you to research that.
Or there’s aproperty: value;
pair you can use in CSS to preserve whitespace and line breaks. Again, I’ll leave it to you to research.
- Make your page responsive. Remember, the R in RWD stands for Responsive
- There’s a horizontal scrollbar on smaller screens
I fixed project. Is it right now?
Your page looks good @serghei01. Good job cleaning things up.
Something you may want to revisit. When I said
I was hoping you’d find the pre
element in HTML to preserve whitespace and line breaks
or use the property: value;
pair white-space: pre-line;
in a code
selector in CSS to preserve whitespace and line breaks.
Either of those would be a better choice.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.