Hello world on solidity Ethereum

Go to http://remix.ethereum.org. This is an IDE to write and execute the smart contract.

Then, write this code :

pragma solidity ^0.4.22;
contract helloWorld {
function renderHelloWorld () public pure returns (string) {
return 'helloWorld';
}
}

In remix IDE switch the execution environment to the JavaScript VM. Now, you can press the button execute to deploy the smart contract. After this, run the function renderHelloWorld() with the button renderHelloWorld.

You must see this :

call to helloWorld.renderHelloWorld
[call] from:0xca35b7d915458ef540ade6068dfe2f44e8fa733c, to:helloWorld.renderHelloWorld(), data:942ae...ae0a7, return:
{  "0": "string: helloWorld" }

That’s all !