DEV Community

Discussion on: A Friendly Beginner's Guide to Solidity (Part One)

Collapse
 
emkay860 profile image
Majid Kareem

Lovely post Joshua.
But you can improve the readability of the code with syntax highlighting by adding 'solidity' to the code block markdown tag i.e

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract HelloWorld {
    uint amount = 100;
}
Enter fullscreen mode Exit fullscreen mode

Rather than this

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract HelloWorld {
    uint amount = 100;
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
josh4324 profile image
ADESANYA JOSHUA AYODEJI

Done, thanks