DeveloperBreeze

Functions Development Tutorials, Guides & Insights

Unlock 4+ expert-curated functions tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your functions skills on DeveloperBreeze.

Non-Primitive Data Types (Objects, Arrays, and Functions)

Tutorial December 11, 2024
javascript

  • Primitives hold a single value and are immutable.
  • Non-primitives hold collections or behaviors and are mutable.

Example:

Easy JavaScript Tutorial for Beginners

Tutorial September 18, 2024
javascript

<!DOCTYPE html>
<html lang="en">
<head>
    <title>JavaScript Example</title>
</head>
<body>
    <button id="myButton">Click Me</button>

    <script>
        document.getElementById('myButton').addEventListener('click', function() {
            alert('Hello from JavaScript!');
        });
    </script>
</body>
</html>

Place JavaScript in an external file and link it in the HTML file:

Solidity Cheatsheet

Cheatsheet August 22, 2024
solidity

- payable: Indicates that the function can receive Ether.

function setMyUint(uint _value) public {
    myUint = _value;
}

function getMyUint() public view returns (uint) {
    return myUint;
}

function add(uint a, uint b) public pure returns (uint) {
    return a + b;
}

function deposit() public payable {
    // Function to receive Ether
}

Calculate Factorial

Code January 26, 2024
java

No preview available for this content.