Solidity: A programming language for smart contract development, primarily used on the EVM (Ethereum Virtual Machine)
Remix: A smart contract development IDE (Integrated Development Environment) that allows deployment and testing of smart contracts in the browser. It's beginner-friendly. https://remix.ethereum.org/#lang=en&optimize=false&runs=200&evmVersion=null&version=soljson-v0.8.26+commit.8a97fa7a.js
Introducing Our First Solidity Program: HelloWeb3.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract HelloWeb3{
string public _string = "Hello Web3!";
}
// SPDX-License-Identifier: MIT
software license used, always denotes on the top of the program to prevent warning during compliation
pragma solidity ^0.8.4;
// Always specify a version pragma in your Solidity contracts.
// The contract should be compiled with a Solidity compiler version that is at least 0.8.4
// It is compatible with any 0.8.x version where x is greater than or equal to 4
// It is not compatible with 0.9.0 or higher versions
string public _string = "Hello Web3!";
// a public string variable called _string, assigning it the value "Hello Web3!"
// In Solidity, statements must end with a semicolon (;)