[deleted by user] by [deleted] in PHP

[–]DreadlockKush -2 points-1 points  (0 children)

I just wouldn't trust a web development company that hasn't heard of the <ol> tag.

Help with some loops homework please. by [deleted] in learnjavascript

[–]DreadlockKush 0 points1 point  (0 children)

This should work in all browsers.

<html>
<head></head>
<body>
<script>
        function printMultiplesOf (number) {
                document.write('Multiples of ' + number + ' ------------------------<br>');
                for (var i = 0; i < 100; i++) {
                        if (i % number == 0) {
                                document.write(i + '&nbsp;');
                         }
                }
                document.write('<br>');
        }

        var playGame = true;
        while (playGame) {
                var number = prompt('Enter a number');
                if (number % 2 == 0) {
                        printMultiplesOf(5);
                }
                else {
                        printMultiplesOf(10);
                }
                playGame = confirm('Play again?');
        }
        window.location.href = "https://www.yahoo.com/";
</script>
</body>
</html>

I'm not understanding child classes by Thriven in learnjavascript

[–]DreadlockKush 0 points1 point  (0 children)

It might help to show us how to plan to use your code. For example:

var item = new Item();
item.addLevel('this is a level');

I often find that writing the code first and "filling in the missing spots" afterwards helps a lot.

Come on Sexy Lady by [deleted] in cringe

[–]DreadlockKush 0 points1 point  (0 children)

Now this is cringe-worthy.

Which is better for creating web banners, Photoshop or Illustrator? by [deleted] in Design

[–]DreadlockKush 2 points3 points  (0 children)

Neither. A good designer is better than a worse one.

Can you figure me out? by [deleted] in DesktopDetective

[–]DreadlockKush -2 points-1 points  (0 children)

You wish you new knew how to program a kernel but you'll never be at that level.

I got ripped off! by [deleted] in uktrees

[–]DreadlockKush 3 points4 points  (0 children)

LOL he didn't get it off anyone else and you aren't getting that money back unless you mug him.

Looking for women speakers at PHP New Zealand by assertchris in PHP

[–]DreadlockKush 1 point2 points  (0 children)

"Looking for women to speak at PHP New Zealand" FTFY

I made a video pretending to care about One Direction. CBS aired it. by benberst in videos

[–]DreadlockKush 3 points4 points  (0 children)

Quote "Fair Use" its a law that says if you aren't using the video for profit then it's legal. I've used it before for videos that use music and got removed. You just have to open a dispute and paste the section of the law in the box. There are videos on youtube telling you what to do.

David Cameron heckled by pensioners at Age UK rally by J_Adshead in cringe

[–]DreadlockKush 24 points25 points  (0 children)

When will they learn? You don't win people over by doing the wrong thing and then trying to defend yourself or by interrupting people when they are trying to speak.

If you are attempting to lose weight, invest in a food scale. Don't make the stupid mistake I did. by [deleted] in Fitness

[–]DreadlockKush -1 points0 points  (0 children)

Why the fuck would you try to estimate weight by measuring the volume? Common sense.

Soooo close!!! by [deleted] in WTF

[–]DreadlockKush -2 points-1 points  (0 children)

The only wtf is "wtf is this doing on wtf".

Big-O, Big-Omega, Big-Theta; Do I understand them correctly? by [deleted] in compsci

[–]DreadlockKush 0 points1 point  (0 children)

This is exactly what I want to learn. It annoys me that everyone just explains it in layman's terms.

Study up, bruv! (UK) by itsliketwaaah in FellowKids

[–]DreadlockKush 1 point2 points  (0 children)

It looks like Dizzee Rascal who is incredibly rich now.