I am busy teaching myself solidity via Patrick Collins instruction video When entering store in SimpleStorage.sol as per video instruction it does not turn green as in the video. It stays white. Same for retrieve function.
When compiling no store(orange) or retrieve(blue) buttons get displayed.
Can someone please explain why?
Code below
pragma solidity ^0.6.0;
contract SimpleStorage {
uint256 public favouriteNumber;
function store(unit256 _favouriteNumber) public {
favouriteNumber = _favouriteNumber;
}
function retrieve() public view returns(unit256) {
return favouriteNumber;
}
}
Messages displayed
SimpleStorage.sol:9:20: DeclarationError: Identifier not found or not unique. function store(unit256 _favouriteNumber) public { ^-----^
SimpleStorage.sol:13:45: DeclarationError: Identifier not found or not unique. function retrieve() public view returns(unit256) { ^-----^