I am an absolute beginner, i know maybe 1 or 2 tricks and the best looking build i built is a basement in my world
What mode? in survival or creative?
what difficulty? peaceful, easy, normal, or hard?
in survival I would advise making plenty of use of torches, and gates and fences to keep zombies out of your house and so they cannot smash your wooden door down.
And don't make the rooftops of your house out of wood if it can be helped, instead use bricks, sandstone, stone or nether bricks etc.
Because lightning can cause your house to burn down otherwise, and it does not rain in every biome.
Also in theory, if the rain stops at just the right time, it will not put out the fires left by the lightning bolt, again you'd be in trouble.
Half slabs on the bottom half and glass also can be used to prevent monster spawns.
Keep fences around your crop fields, and make dirt paths using the shovel on grass blocks to prevent mobs from ruining them.
When making railways be sure they are well guarded against mobs too, rails, especially the powered ones, are expensive to replace.
and while animals do not destroy rails, they do block them, and could send you in your mine cart in the opposite direction, don't place them on or beside grass blocks.
Consider using the nether portals often, it can get you shortcuts through the over world.
If you're building things from extreme heights, such as a treehouse atop a jungle tree, for example,
Put a pool of water on the bottom to cancel out the fall damage if you accidentally fall off.
Read the wiki, there's a lot of information and tips on how to play the game in either mode or difficulty.