goodDay !coders...i need help with local storage..got nothing back from this

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
http://frontend-basics.projectcodex.co/greeting exercise…

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

Replace this line with your code.

<script>
    function clickCounter() {
        if (typeof(Storage) !== "undefined") {
            if (localStorage.clickcount) {
                localStorage.clickcount = number(localStorage.clickcount) + 1;
            } else {
                localStorage.clickcount = 1;
            }
            document.getElementById("result").innerHTML = "x()" + localStorage.clickcount + "clicks";

        } else {
            document.getElementById("result").innerHTML = "sorry your web browser does not support web storage..";

        }
    }
</script>
<do not remove the three backticks above>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.