• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.
    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Fun activity Say hello... in a coding language!

edenwax

Active Coder
JavaScript:
var heyThere = ['Hello, ', 'My ', 'name ', 'is ']
var myName = "Matt"
var output = ""

for (var i = 0, i < heyThere.length, i++){
    output += heyThere[i];
}

output += myName + ".";
console.log(output);

Might be a bit convoluted, but it should work in theory. Just wanted to include a for loop lol. Been awhile since I messed with any code. :thinking:

Ahh so close! The loop should be separated by semi-colons instead of commas. :p
for (var i = 0; i < heyThere.length; i++){
 
And here is something in my own language I'm working on:

Code:
<<
    (
        greeting -> <<
            (
                a -> "Hello"
            ) /\ (
                b -> "Matt"
            ) /\ (
                a b
            )
        >>
    ) /\ (
        greeting "!"
    )
>>

The language is taking its own path towards logic waters.
 
Last edited:

Stewpid

New Coder
Hello World:
<html>
<head>
    <style>
        h1 {
            color: Orange;
                font-size: 50px;
                
        }
        .blood {
       color: Orange;
       text-shadow:
       4px 4px 1px #300000,
       4px 6px 1px #400000,
       4px 8px 1px #500000,
       4px 10px 1px #600000,
       4px 12px 1px #700000,
       4px 14px 1px #800000,
       4px 16px 1px #900000,
       4px 18px 1px #A00000,
       4px 20px 1px #B00000,
       4px 22px 1px #C00000,
       4px 24px 1px #D00000,
       4px 26px 1px #E00000,
       4px 28px 1px #F00000,
       4px 30px 1px #FA0000,
       4px 32px 1px #FB0000,
       4px 34px 1px #FC0000,
       4px 36px 1px #FD0000,
       4px 38px 1px #FE0000,
       4px 40px 2px #FF0000;
}
    </style>
    
    </head>
    <body>
        <h1 class="blood">OLLEH</h1>

    </body>
    <html/>
 
Top Bottom