PHP History Question
Answer C.What was the original definition of the acronym, "PHP" ?
a) PHP: Hypertext Preprocessor
b) Perl Hypertext Preprocessor
c) Personal Home Page
d) PHP: Hypertext Parser
| SitePoint Sponsor |



PHP History Question
Answer C.What was the original definition of the acronym, "PHP" ?
a) PHP: Hypertext Preprocessor
b) Perl Hypertext Preprocessor
c) Personal Home Page
d) PHP: Hypertext Parser
Trying to fill the unforgiving minute
with sixty seconds' worth of distance run.
April Photo-Challenge: "A Piece of Paper"
I can throw a bunch of good css questions your way. Do they have to be only JS and php?





and ruby
Is that a yes to css questions?



What kind of question are preferable about designing or development point of view .


Here's another simple JS one:
Answer: true. (Reason: alphabetically, "two" is greater than (i.e. later in the dictionary than) "three".)The following code
will evaluate to:Code:"two" > "three"
true
false
undefined
an error
[Perhaps a JS person can suggest better options here.]
How to prevent iPhone from increasing text size?
@media (max-device-width:320px) {
#nav {
-webkit-text-size-adjust:none;
}
}





Definitely a good question: relevant, technical and fun. But with some reworking, because
Possibly another rephrasing of the question, if aimed at web developers: How to prevent accidentally locking text size on webkit, while keeping iPhones from crazily enlarging text too much?How to preventiPhoneall, even desktop webkits from increasing text size?
@media (max-device-width:320px) {
#nav {
-webkit-text-size-adjust:none;
}
}
@media (max-device-width:320px) {
#nav {
-webkit-text-size-adjust:100%;*
}
}
* (or auto, but 100% is somewhat more recommended if your site is really mostly only geared to mobile)
Oh ok cool. I assume that works good. Ill try that... Good add





It's a perfect question specifically because of how it's not straightforward, too.
See if you notice a difference between 100% and auto... I don't have an iPhone, would be nice to know.


I just tried a speriment using
thenCode:-webkit-text-size-adjust:none;
thenCode:-webkit-text-size-adjust:100%;
... and found no difference twixt any of them on iPhone. In each case, it prevents the weird resizing of text, but you can still enlarge text if you wish by pinching etc.Code:-webkit-text-size-adjust:auto;
Ralph you got the test there. Test it on safari desktop. The problem with none, and without media is that it prevents full size safari from increasing text size. I assume using 100% or auto would allow then to do away with the media qurie targeting 320px and less


How is the following sentence written in Javascript?
John has a puppy named "Sparky".
Answer (2)1) document.write("John has a puppy named "Sparky".");
2) document.write("John has a puppy named \"Sparky\".");
3) document.write("John has a puppy named /"Sparky/".");
4) document.write("John has a puppy named &"Sparky&".");
document.write("John has a puppy named \"Sparky\".");
Bookmarks