---
title: "Comment by kerry okpere on \"Hello World! An Introduction To Solidity Smart Contracts\" | Hashnode"
description: "Great job on the explanation 👏🏽👏🏽👏🏽 I wanted to highlight a mistake on the initial code instead of pragma solidity ^0.8.7; you have pragma solidy ^0.8.7;"
url: "https://hashnode.com/posts/hello-world/61731da90f452c1cd94f91cb/comment/6181a9c5b4753831f932d1e5"
---

[Discussion](https://hashnode.com/posts/hello-world/61731da90f452c1cd94f91cb)

Comment [Hello World! An Introduction To Solidity Smart Contracts](https://hashnode.com/posts/hello-world/61731da90f452c1cd94f91cb)

[kerry okpere](https://hashnode.com/@Kerry)

[Nov 2, 2021](https://hashnode.com/posts/hello-world/61731da90f452c1cd94f91cb/comment/6181a9c5b4753831f932d1e5)

Great job on the explanation 👏🏽👏🏽👏🏽

I wanted to highlight a mistake on the initial code

instead of

`pragma solidity ^0.8.7;`

you have

`pragma solidy ^0.8.7;`

so I think it should be

```
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.7;

contract HelloWorld {
    function sayHello() public pure returns (string memory) {
        return "Hello World!";
    }
}
```

I hope you found this helpful.

[Paul McAviney](https://hashnode.com/@0xPaulie)

[Nov 2, 2021](https://hashnode.com/posts/hello-world/61731da90f452c1cd94f91cb/comment/6181a9c5b4753831f932d1e5#reply-6181ad85b4753831f932d204)

Ahh thank you so much for pointing that out! I'll fix it right away 😊
