Counting Challenge

Post Reply
0mega24
Posts: 3
Joined: Tue Sep 30, 2008 11:24 pm
Location: Your mom's bedroom

Counting Challenge

Post by 0mega24 »

I tried using a two lettered Linux application to count the characters in the paragraph but the answer i get 593 is somehow incorrect. Is there some mistake that I could be making that would produce an incorrect output for that application? Plz pardon the noobishness of this question.
Quod me nutrit me destruit
canine
Posts: 190
Joined: Sun Sep 14, 2008 5:38 am

Re: Counting Challenge

Post by canine »

0mega24 wrote:I tried using a two lettered Linux application to count the characters in the paragraph but the answer i get 593 is somehow incorrect. Is there some mistake that I could be making that would produce an incorrect output for that application? Plz pardon the noobishness of this question.
You're probably getting the space at the end of the paragraph, which probably is not what was intended.
Minor
Posts: 2
Joined: Wed Jul 08, 2009 6:26 pm

Post by Minor »

I think that's a stupid chalenge
I used this javascript code to count characters

Code: Select all

var q = document.getElementsByTagName('p');
q[1].innerHTML.length
And got 595
but as I understand from previous posts the right answer is 592. Why?
megabreit
Posts: 141
Joined: Sat Jan 03, 2009 3:33 pm

Post by megabreit »

Please don't discuss solutions in the "challenges" forum, not even for challenges as easy as this one!
This is why there is a "challenges solved" forum!
Post Reply