Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #25452
| From | danca <cyberdanny@tiscalinet.it> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: I need help with the following code. |
| Date | 2014-07-18 22:04 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <lqbukm$sat$1@dont-email.me> (permalink) |
| References | <cb3a7a8c-b4b5-4cce-8184-ebfdaf9a9d8b@googlegroups.com> |
Il 18/07/2014 18:39, Iria Vasquez-Paez ha scritto:
> This is the code as it starts on Code Academy.com. I'd greatly appreciate help on this.
>
> var bool = true;
>
> while(bool === true){
> console.log("Less is more!");
> bool = false;
> }
>
>
> You have to remove the equals signs.
>
> var bool = true;
>
> while(bool = true){
> console.log("Less is more!");
> bool = false;
> }
>
>
> This is my solution that does't pass the editor.
>
>
> var bool = true;
> while(bool) {
> console.log ("Less is more!";
> bool = false;
> }
>
>
> This solution is a problem with syntax. Other solutions cause my browser to crash. I need to solve this headache in order to move on. I have gone ahead but I am not progressing with this problem. I really need a solution. The above solution is a syntax problem. Thanks.
>
>
> Iria
>
Maybe I'm wrong, but this is what I have understood from your posts.
1) You want to learn to code in "javascript"
2) You have found this site "Code Academy"
3) They offer a kind of interactive course, and through their site you
have some kind of textbox in which you type your code, then you press a
button "Try it!" or "Execute!" and you can see the results.
If this is the case maybe their site is buggy or something else. Manage
to create a minimal development environment.
1) use Notepad or something else and create a html page. The structure is:
<html>
<head>
<script>
... your code goes here, f.e:
console.log("hello, world")
</script>
</head>
<body>
...html goes here, f.e.
<p>My test page!</p>
</body>
</html>
Save to test.html and open it with Chrome (or whatever browser you
want). (file/open)
This NG is aimed at users a bit more experienced, however. Probably
isn't the right place to begin with.
HTH
Dan
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 09:39 -0700
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-18 18:07 +0100
Re: I need help with the following code. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-18 19:14 +0200
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 10:28 -0700
Re: I need help with the following code. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-18 19:51 +0200
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 11:24 -0700
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-18 20:06 +0100
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 12:27 -0700
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 12:47 -0700
Re: I need help with the following code. Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-18 21:30 +0100
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 14:41 -0700
Re: I need help with the following code. Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-18 23:28 +0100
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 16:54 -0700
Re: I need help with the following code. Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-19 01:57 +0100
Re: I need help with the following code. Mike Duffy <md_002@videotron.ca> - 2014-07-18 21:29 -0400
Re: I need help with the following code. Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-19 03:00 +0100
Re: I need help with the following code. Gene Wirchenko <genew@telus.net> - 2014-07-21 10:23 -0700
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-19 09:11 +0100
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-18 21:33 +0100
Re: I need help with the following code. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-18 22:06 +0200
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 10:23 -0700
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-18 18:27 +0100
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-18 22:04 +0200
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-18 22:53 +0200
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-18 22:56 +0200
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-18 22:08 +0100
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-18 23:37 +0200
Re: I need help with the following code. John Harris <niam@jghnorth.org.uk.invalid> - 2014-07-20 10:50 +0100
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-20 20:56 +0200
Re: I need help with the following code. Tim Streater <timstreater@greenbee.net> - 2014-07-20 22:40 +0100
Re: I need help with the following code. "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-07-21 07:41 +0200
Re: I need help with the following code. Scott Sauyet <scott.sauyet@gmail.com> - 2014-07-21 11:49 -0700
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-22 13:58 +0200
Re: I need help with the following code. Scott Sauyet <scott.sauyet@gmail.com> - 2014-07-22 07:45 -0700
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-22 21:54 +0200
Re: I need help with the following code. Iria Vasquez-Paez <iriavp@gmail.com> - 2014-07-18 14:42 -0700
Re: I need help with the following code. danca <cyberdanny@tiscalinet.it> - 2014-07-19 00:00 +0200
Re: I need help with the following code. Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-07-18 23:42 +0100
Re: I need help with the following code. Denis McMahon <denismfmcmahon@gmail.com> - 2014-07-18 21:12 +0000
csiph-web