In this guide, you'll learn how to deploy a smart contract using the Remix IDE. The Remix IDE is an integrated development environment (IDE) that helps you develop smart contracts using solidity in a web browser.
First, if you go to https://remix.ethereum.org/, you'll see that there are three files created by default.
1_Storage.sol
2_Owner.sol
3_Ballot.sol
In this example, we'll deploy the 2_Owner.sol contract.
Press the Compile 2_Owner.sol button and it will compile automatically. If the compilation completes successfully, you will see a green mark.
The photo below shows compilation complete.
Pressing the Deploy button will automatically deploy it.
You can check throuhg the console.log that the smart contract deployed successfully.
You have successfully deployed a smart contract using the Remix IDE. You can now use its address to call the deployed contract.