ERC20 shows pragma error on Remix

:computer: Environment

:memo:Details

:1234: Code to reproduce

Your contract need Solidity version should be ^0.5.0, I have pasted your code and compiled, but there was not an error, just like this,

so maybe you have a bad network, try to refresh and compile again.

Thanks buddy solved my problem. btw how can I do similar tasks using openzeplin?

I think you can refer to this: Deploy contracts programmatically using the CLI and maybe @abcoathup can give some better advice.

Hi @Arman_khan,

Welcome to the community :wave:

You could look at the following tutorials: