I know that when you create a module you should put it the app/code/<Vendor>/<Module>/ but for some reason i don't have one. I verified the installation of magento 2 and it works as it is suppose to. I tried to make a simple module in vendor but that doesn't work.
I installed magento via composer with the magento CE matapachage.
if anyone can help me i would appreciate it
You should not put a Magento 2 extension code anywhere: Magento 2 extensions are installed through Composer and Composer will download the extension from a repositoty and will place it in a proper location.
How to install an extension from a Git repository: https://mage2.pro/t/25
You need not app/code directory. The tutorials are outdated.
Thanks for your answer
I solved the problem in the end by makiing mine own app/code directory and it works for me