Page 2 of 2 FirstFirst 12
Results 21 to 30 of 30

Thread: Anyone learning CSS, HTML, or Javascript?

  1. #21
    Blogger
    Join Date
    Feb 2011
    Location
    Las Vegas
    Posts
    6,210
    Thanks Thanks Given 
    1,703
    Thanks Thanks Received 
    424
    Thanked in
    357 Posts

    Default

    if you're familiar with it on code academy. mind helping a bit? or directing me where to go. the instructions were a little too vague or complicated for me lol

    Edit: here is a screen shot of it

    Name:  lol, halp.png
Views: 246
Size:  792.1 KB
    Last edited by razerfingers; 04-26-2013 at 12:11 AM.
     
    PL) razerfingers, razer, kinglewi SL) deadspace, razerfingers, sharpshooter DL) trueblood, razerfingers, sharpteeth AL) razer, razerfingers, billionaire, donaldtrump

  2. #22
    Senior Member Wowsome's Avatar
    Join Date
    Jan 2013
    Location
    [Grog Beach]
    Posts
    797
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    62
    Thanked in
    48 Posts

    Default

    Quote Originally Posted by razerfingers View Post
    if you're familiar with it on code academy. mind helping a bit? or directing me where to go. the instructions were a little too vague or complicated for me lol

    Edit: here is a screen shot of it

    Name:  lol, halp.png
Views: 246
Size:  792.1 KB
    Here you go

    Code:
    // Define quarter here.
    
    function quarter(number) {
        return (number/4);
    }
    
    if (quarter(12) % 3 === 0) {
      console.log("The statement is true");
    } else {
      console.log("The statement is false");
    }
    Good luck and keep practicing
    .. RETIRED ..
    L31 PvE & L21 PvP
    ...Arcane Legends

  3. #23
    Senior Member
    Join Date
    May 2010
    Location
    :noitacoL
    Posts
    4,999
    Thanks Thanks Given 
    124
    Thanks Thanks Received 
    157
    Thanked in
    114 Posts

    Default

    Quote Originally Posted by Wowsome View Post
    Here you go

    Code:
    // Define quarter here.
    
    function quarter(number) {
        return (number/4);
    }
    
    if (quarter(12) % 3 === 0) {
      console.log("The statement is true");
    } else {
      console.log("The statement is false");
    }
    Good luck and keep practicing
    Or you can do

    var quarter = function(number); {
    //codehere
    }

    That's how I always define functions but it doesn't really matter how you do it as long as it is correct.

  4. #24
    Blogger
    Join Date
    Feb 2011
    Location
    Las Vegas
    Posts
    6,210
    Thanks Thanks Given 
    1,703
    Thanks Thanks Received 
    424
    Thanked in
    357 Posts

    Default

    Quote Originally Posted by Cascade View Post
    Or you can do

    var quarter = function(number); {
    //codehere
    }

    That's how I always define functions but it doesn't really matter how you do it as long as it is correct.
    Quote Originally Posted by Wowsome View Post
    Here you go

    Code:
    // Define quarter here.
    
    function quarter(number) {
        return (number/4);
    }
    
    if (quarter(12) % 3 === 0) {
      console.log("The statement is true");
    } else {
      console.log("The statement is false");
    }
    Good luck and keep practicing
    thanks guys ill have to do that one a few times to grasp it
     
    PL) razerfingers, razer, kinglewi SL) deadspace, razerfingers, sharpshooter DL) trueblood, razerfingers, sharpteeth AL) razer, razerfingers, billionaire, donaldtrump

  5. #25
    Senior Member
    Join Date
    May 2010
    Location
    :noitacoL
    Posts
    4,999
    Thanks Thanks Given 
    124
    Thanks Thanks Received 
    157
    Thanked in
    114 Posts

    Default

    Yeah if statements can be hard to understand.

  6. #26
    Senior Member Wowsome's Avatar
    Join Date
    Jan 2013
    Location
    [Grog Beach]
    Posts
    797
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    62
    Thanked in
    48 Posts

    Default

    Quote Originally Posted by Cascade View Post
    Or you can do

    var quarter = function(number); {
    //codehere
    }

    That's how I always define functions but it doesn't really matter how you do it as long as it is correct.
    my man, you are right .. except the semicolon.
    .. RETIRED ..
    L31 PvE & L21 PvP
    ...Arcane Legends

  7. #27
    Blogger
    Join Date
    Feb 2011
    Location
    Las Vegas
    Posts
    6,210
    Thanks Thanks Given 
    1,703
    Thanks Thanks Received 
    424
    Thanked in
    357 Posts

    Default

    when i was trying to do the others i had to look at the forums for reffrence.
    because every time i would do if/else the else would show a red x by the line and i didn't know what i was doing wrong with the else. it happened when making my rock paper scissors game i got this far,

    console.log("Ready for a friendly rock, paper, scissors game?")
    var player1 = prompt("Choose rock, paper, or scissors. Don't use caps pl0x")
    var player2 = prompt("Choose rock, paper, or scissors. Don't use caps pl0x")
    var player1wins = console.log("Player 1 wins!")
    if(player1 === "rock" && player2 === "scissors") {

    } else

    i couldnt go further because the else was wrong somehow

    Edit: aha i didn't see next lessons were teaching you how to make a rock paper scissors game and have it play with the computer. i was doing this other one for fun at end of last one
    Last edited by razerfingers; 04-26-2013 at 01:10 PM.
     
    PL) razerfingers, razer, kinglewi SL) deadspace, razerfingers, sharpshooter DL) trueblood, razerfingers, sharpteeth AL) razer, razerfingers, billionaire, donaldtrump

  8. #28
    Senior Member Greencrow's Avatar
    Join Date
    Feb 2013
    Location
    UBEC
    Posts
    1,461
    Thanks Thanks Given 
    141
    Thanks Thanks Received 
    151
    Thanked in
    97 Posts

    Default

    Back when I was high school
    ^ Battle Dragons IGN

    Et tu, brute?

  9. #29
    Junior Member HerbalEssence's Avatar
    Join Date
    Feb 2013
    Location
    Lothlórien
    Posts
    44
    Thanks Thanks Given 
    17
    Thanks Thanks Received 
    6
    Thanked in
    6 Posts

    Default

    Hey guys, I've been working with html on and off since I was 14, I did a little css to make the sites I did prettier. You don't have full freedom to customize on a site like Myspace but I did do Lou Gramm of Foreigner's, code and graphics. xD Back in the day.. (wow, does that make me feel old, lol. Just hit my mid 20s) when I got my first domain I used notepad also and an Ftp host. Dunno if those are relevant anymore with free hosting/unlimited bandwith around. Div overlays were a bit of a pain for me.. I've yet to learn Javascript but I'd really love to. :3 I continue to do graphics for fun and freelancing, somehow I still remember basic code after not putting it to use for quite a few years. I live on the eastcoast so there aren't many opporunities for snagging employment as a Graphic Designer or Web Designer. I made a huge mistake when I first went to college by going for an Associates in Science. I plan to go back to community college for the Information Technology Support Specialist program in the fall.


    ~Delirium~

  10. #30
    Senior Member Wowsome's Avatar
    Join Date
    Jan 2013
    Location
    [Grog Beach]
    Posts
    797
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    62
    Thanked in
    48 Posts

    Default

    Quote Originally Posted by HerbalEssence View Post
    Hey guys, I've been working with html on and off since I was 14, I did a little css to make the sites I did prettier. You don't have full freedom to customize on a site like Myspace but I did do Lou Gramm of Foreigner's, code and graphics. xD Back in the day.. (wow, does that make me feel old, lol. Just hit my mid 20s) when I got my first domain I used notepad also and an Ftp host. Dunno if those are relevant anymore with free hosting/unlimited bandwith around. Div overlays were a bit of a pain for me.. I've yet to learn Javascript but I'd really love to. :3 I continue to do graphics for fun and freelancing, somehow I still remember basic code after not putting it to use for quite a few years. I live on the eastcoast so there aren't many opporunities for snagging employment as a Graphic Designer or Web Designer. I made a huge mistake when I first went to college by going for an Associates in Science. I plan to go back to community college for the Information Technology Support Specialist program in the fall.
    I have seen your sigs. Way to go! Really, shoot for designer work and relevant courses
    .. RETIRED ..
    L31 PvE & L21 PvP
    ...Arcane Legends

  11. The Following User Says Thank You to Wowsome For This Useful Post:


Similar Threads

  1. JavaScript disable?
    By Zeimer in forum AL General Discussion
    Replies: 0
    Last Post: 11-07-2012, 07:11 AM
  2. Well, you never stop learning i guess...
    By TsunamiTheClown in forum SL General Discussion
    Replies: 8
    Last Post: 11-14-2011, 09:38 AM
  3. Learning the ins and outs
    By Ensanee in forum PL New Players
    Replies: 6
    Last Post: 04-30-2011, 11:15 AM
  4. [spoiler] HTML tag for the forums
    By Physiologic in forum PL Suggestions and Feedback
    Replies: 5
    Last Post: 01-29-2011, 07:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •