Several chess players say things like : "Openings are not important unless you reach 2300 rating". They probably mean that spending a lot of time on opening lines should have lower priority than other chess study things.
However, as a chess beginner and more advanced amateur chess player it is very important you learn about opening tricks, as well as general rules of thumb for chess openings, and the ideas of certain opening lines that you play.
Chess miniatures can be useful to learn more about opening tricks.
In the last few months I saw this a few times :
Against a fairly strong player I had this :
Here's a few miniatures to share.
Here's a variation of the opening trick from the Albin's Counter gambit :
For further reading :