X

CLASS WEB

PinkCoding

Scratch Web

<!doctype html>
<html>
<head>
<title>HELLO WORLD</title>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
    window.onload = function(){
        document.getElementsByTagName('h1')[0].style.fontSize = '35px';
    }
</script>
<style>
    *{margin:0;padding:0}
    html{background:#000;padding:40px}
    h1{color:skyblue;margin-top:40px}
    h1:nth-child(3){
        font-size:130px;color:hotpink;
        font-weight:bold;text-transform:uppercase
    }
</style>
</head>
<body>
    <h1>Welcome</h1>
    <h1>to</h1>
    <h1>PinkCoding</h1>
</body>
</html>

Scratch Python

def plus(n1 = 0, n2 = 0):
    return n1 + n2;

print(plus(5,10));

PinkCoding

PinkCoding