Notices

Great community. Great ideas.

Welcome to ASP/Free, a community dedicated to helping beginners and professionals alike in improving their knowledge of Microsoft's development and administration technologies. Sign up today to gain access to the combined insight of tens of thousands of members.

Thread: Help with a very simple learning exercise please.

Results 1 to 3 of 3
Share This Thread →
  1. #1
    narelle_s is offline Registered User
    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0

    Red face Help with a very simple learning exercise please.

    Hi

    I am working through some exercises at Codeacademy to teach myself some basics. I'm stuck at the exercise regarding Console.Log

    when I enter this -

    console.log(15>=4);
    console.log("Xiao Hui".length<=122);
    console.log("Goody Donaldson".length>=8);
    console.log(8*2=16);

    I should return all four as True, and what would the console.log bit look like anyway? The error it's returning from the exercise is "It looks like the first console.log() call didn't return true." Even if I just leave the last line, it has the same error - and there is a note in the script box itself that says "bad left hand of assignment". Huh?

    Narelle

  2. #2
    narelle_s is offline Registered User
    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0
    Sorry, even tried putting spaces in - like
    console.log("Xiao Hui".length <= 122);

    same issue.

  3. #3
    narelle_s is offline Registered User
    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0
    Solved!

    Needed ===

    not =

    sorry.

Share This Thread →

Become Part of This Conversation

Join NowFor Free!

Similar Threads

  1. Too Much Exercise Can Be Bad for the Heart
    By RSS_News_User in forum Science News
    Replies: 0
    Last Post: June 5th, 2012, 10:00 AM
  2. Challenging exercise
    By danielvo in forum Visual Basic Programming
    Replies: 0
    Last Post: September 26th, 2011, 10:31 PM
  3. GM IPO grows to $23B with overallotment exercise (AP)
    By RSS_News_User in forum Business News
    Replies: 0
    Last Post: November 26th, 2010, 06:00 PM
  4. GM IPO grows to $23B with overallotment exercise (AP)
    By RSS_News_User in forum Business News
    Replies: 0
    Last Post: November 26th, 2010, 03:00 PM
  5. Simple SQL problem from a simple Access user
    By Mir72 in forum Microsoft Access Help
    Replies: 2
    Last Post: May 26th, 2004, 08:53 AM

ASP Free Advertisers and Affiliates