Skip to content

Commit 223d8a8

Browse files
authored
Spaces for the code blocks that are not converted in GitHub pages correctly
1 parent 6bc68fe commit 223d8a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: Generals/generals.md

+5
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@
99
- [Always test projects cross-browser and (possibly) cross-devices when developing](#always-test-projects-cross-browser-and-possibly-cross-devices-when-developing)
1010
- [Use comments when needed](#Use-comments-when-needed)
1111

12+
1213
---
1314

15+
16+
1417
# GENERAL BEST PRACTICES
1518

1619
### ALWAYS TEST PROJECTS CROSS-BROWSER AND (POSSIBLY) CROSS-DEVICES WHEN DEVELOPING
1720

1821
Cross-browser issues are a major problem for front-end developers, especially due to *Internet Explorer* and *Safari*. It is a good practice to test our code against all the browsers supported once the development is finished and (possibly) test it with different devices. In this last case, the Chrome browser is helpful in testing different mobile renderings and engines.
1922

23+
24+
2025
### USE COMMENTS WHEN NEEDED
2126

2227
Some parts of a project will never be easy to scan and understand. Consider a complicated regular expression, or a math function calculating angles or switching between degrees and radians. Without the comment above, beginner and intermediate readers will be fairly clueless to the scripts' meaning.

0 commit comments

Comments
 (0)