Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

incorrect code 1

Status
Not open for further replies.

dazza40

Technical User
Jun 28, 2007
4
GB
Hi hoping for your help/ I have an interview tomorrow and as a test (as I know nothing!) I've been asked to find out what is wrong with the following.

<html>
<body>
<%
response.print("<h2>You can use HTML tags to format the text! ")
%>

</body>
</html>

There are 2 errors apparently. Can anyone help?

Thanks
 
This is a joke surely?

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
I'm pretty sure that response.print should actually be...

[!]R[/!]esponse.[!]P[/!]rint

Capitalization is IMPORTANT.

-George

"the screen with the little boxes in the window." - Moron
 

Error 1:
Applying for a position you are not qualified, skilled or experienced for, or capable of doing.

Error 2:
Asking a professional forum to help you cheat on a test that allows you to cause more problems for us to endure and probably solve at some point in the future.

Are those the two errors you were looking for us to point out ?


A smile is worth a thousand kind words. So smile, it's easy! :)
 
I'd red flag this, but I think it should stand as an example of how not to succeed.

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
gmmmastros.
Thanks for your first response. Very useful.

I and the interviewer knows that I do not have the skills but he wanted to know how interested I am by posing me a testing question as I am up against colleagues who claim to have the knowledge I do not have but want to learn.

I thought that this forum would be a good area to post after searching other areas and having already spent some hours this week following basic tutorials to get a flavour of the area I am applying for.
 
Don't forget to capitalize the last letter to. Man that one always gets me with JavaScript *sigh* Pretty much any time you start a word it needs to be capitalized. I think the team that wrote JavaScript had some kind of issue with lower case

ResponsE.PrinT

And those weird <% %> thingy things. Yeah those I think are suppose to be <# #>. Sometimes they like to use <! !> but hey I think they are all interchangable

Good luck with that interview. I'm sure you have it in the bag.

____________ signature below ______________
You are a amateur developer until you realize all your code sucks.
Jeff Atwood

 
Don't forget to come back and tell us how you did will you?

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
thanks all for your response. the interview went OK i think bearing in mind my inexperience. Didn't seem to put them off.
For info the answer was response.print is invalid it should be response.write and there was no closure to the Heading <h2>
just gotta wait a weeknow!

Cheers

Daz
 
just gotta wait a weeknow

I hope they don't start cleaning and setting up any of the empty cubicles in my area for a new hire....

Uncle Ricos of the world: UNTIE!

< M!ke >
Acupuncture Development: a jab well done.
 
unfortunately they told me. however they seem to be impressed that I had spent the time looking. As response.print was invalid this explained why i spent so much time searching for it!
 
You should also have a <head> portion to the document.

And it was ASP and this is a Javascript forum.

<honk>*:O)</honk>

Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top