how to hide L-shaped marks on the writer i got them on the head and bottem of the page
If you would prefer to see lines defining the margins, then click Tools > Options > LibreOffice Writer > Formatting Aids and tick the radio button Border Outline.
Unticking the box labelled Text will completely hide the margins from you.
These are only visual hints about the currently active part in the page: here, the main text area.
These marks do not print and show only on screen. I suggest you keep them, like many others, as valuable help while composing your document. I recommend you also enable View>Formatting Marks which show even more important behind-the-scene data.
If, despite this advice, you still want to get rid of the mark, untick View>Boundaries.
PS: to get the most accurate answer, always mention OS name, exact LO version and save format. Taking your question as an example, display of boundaries changed in a rather recent release to settle on the kind in your screenshot.

