www.webdeveloper.com
Results 1 to 3 of 3

Thread: Question

  1. #1
    Join Date
    Jun 2013
    Posts
    23

    Question

    Hello, im learning JavaSCript, but i can't solve this error in dreamweaver (the code error is in line 5).


    (1) var foo = "apple";
    (2)
    (3) if (foo === "Apple") {
    (4) alert("That is an apple");
    (5) } else if (foo ==== "apPle") {
    (6) alert("That is an apPle")
    (7) } else if (foo === "apple") {
    (8) alert("Dit is de goeie")
    (9) } else alert("No match was found");


    Thanks!

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,653
    foo ==== "apPle"

  3. #3
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,653
    uninstall that dreamweaver (btw, you'll get some additional disk space for music or porn ) and write the code manually using, for example, Notepad++ or any other with syntax highlighting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles