-
A javascript code that starts with "<"
I have a project for school where I have to come up with a syntacticly correct piece of code that starts with "<" in javascript.
I dont know if there even is one.
for example:
var x = 3; //this line starts with a "v"
<3; //this starts with "<" but is not syntacticly correct and will throw an error - i need any piece of code that starts with "<" AND is syntacticly correct. any help?
-
-
Can you start with HTML before the JavScript?
-
-
i don't really get your idea, more spesific? Your task is make a page with simple javascript element, or just make a page that extension .JS?
_____________________
David Demetrius //
davejob
_____________________
-
-
We aren't here to do your homework for you. Is that the whole question? If you need help with this sort of thing, please let us help by pointing you in the right direction, rather than having us actually do it for you.
In this case, I'd suggest thinking about situations where that symbol wouldn't have a functional value.
I also don't believe this is possible on a single line (it would need to be in context).
The only exception is the Javascript <script...> tag itself, but that seems irrelevant in this case.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks