πŸŽ‰ Casts from the community

The latest and greatest from our community!

    <html>
        <head>
            <link rel="stylesheet" href="index.css">
        </head>
        <body>
            <h1>index.html</h1>
            <script src="index.pack.js"></script>
        </body>
    </html>
    <html>
        <head>
            <link rel="stylesheet" href="index.css">
        </head>
        <body>
            <h1>index.html</h1>
            <script src="index.pack.js"></script>
        </body>
    </html>
    <html>
        <head>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.4.0/brython.min.js"></script>
        </head>
        <body onload="brython();">
            <script type="text/python3" src="index.py"></script>
        </body>
    </html>
    <html>
        <head>
            <script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.4.0/brython.min.js"></script>
        </head>
        <body onload="brython();">
            <script type="text/python3" src="index.py"></script>
        </body>
    </html>
    <html>
        <head>
            <link rel="stylesheet" href="index.css">
        </head>
        <body>
            <h1>index.html</h1>
            <script src="index.pack.js"></script>
        </body>
    </html>
    console.log("Hello from JavaScript");
    <html>
        <head></head>
        <body>
            
        </body>
    </html>
    from itertools import combinations
    z=combinations([1,2,3,4,5,6],3)
    for x in z:
        print(x)
            
    import Vue from 'vue';
    
    new Vue({ 
        el: '#app',
        data: {
            message: 'Hello world'
        }
    });
    
    <html>
        <head>
            <link rel="stylesheet" href="index.css">
        </head>
        <body>
            <h1>index.html</h1>
            <script src="index.pack.js"></script>
        </body>
    </html>
    
    # If you're cooking a mushroom soup, go to step 5. 
    
    if mushroomSoup:
        print("go to step 5")
    # else:
    #     print("continue normally.")
    console.log("Hello from JavaScript");
    // JS Conventions
    
    // casing - camelCased
    
    var myLocationIsInUtah = true
    
    // white space
    
    for(var i = 0; i < 10; i++){
        
    }
    
    // naming
    
    var name = 10
    
    var age
    
    var friends
    
    var isThirsty
    
    var address
    
    code = "alot of code" 
    
    test = "this code"
    
    print(test)
    
    
    
    
    # from browser import document
    
    # def message():
    #     print("Hello with Brython!")
        
    # document.getElementById("btn").bind("click", message)
    
    # For general scripting
    # name = input('Enter your name:')
    # print('Hello ' + name)
    
    x = lambda v : v * 10
    print(x(5))
    
    article {
        background-color: khaki;
        margin: 2rem auto;
        max-width: 33rem;
        padding: 1rem;
    }
    
    section {
        background-color: rgba( 255, 255, 255, .3 );
        padding: 1rem;
        position: relative;
    }
    
    h2 {
    print(1 2)
    
    print(1  2)
    
    print(1 == 2)
    
    print(1 != 2)
    
    print(1 = 2)
    
    print(1  2)
    
    
    a {
        color: chocolate;
        text-decoration: none;
    }
    
    a:visited {
        color: orangered;
    }
    
    a:hover {
        background-color: lightpink;
        color: blueviolet;
    }
    
    <!DOCTYPE html>
    <html lang="en-us">
    
    <head>
    
    	<meta charset="UTF-8">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    
    	<title>Page Title</title>
        
        <link rel="stylesheet" href="style.css">
    </head>
    
    <body>
    .article-image {
        float: left;
        margin: 0 1rem 1rem 0;
    }
    
    h2 {
        clear: right;
    }
    .wrapper {
        max-width: 30rem;
    }
    
    img {
        max-width: 100%;
    }
    <!DOCTYPE html>
    <html lang="en-us">
    
    <head>
    
    	<meta charset="UTF-8">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    
    	<title>Page Title</title>
        
        <link rel="stylesheet" href="style.css">
        
    </head>
    <body>
Showcase your cast to the community by letting us know on Twitter or our Community Chat.