JS / PHP / JQuery Quiz

 

Results

#1. How do you declare a JavaScript variable?

#2. How do you call a function named “myFunction”?

#3. Which event occurs when the user clicks on an HTML element?

#4. The PHP syntax is most similar to:

#5. How do you get information from a form that is submitted using the “get” method?

#6. How do you create a cookie in PHP?

#7. When using the POST method, variables are displayed in the URL:

#8. What is the correct way to include the file “time.inc” ?

#9. What is the correct way to open the file “time.txt” as readable?

#10. PHP can be run on Microsoft Windows IIS(Internet Information Server):

#11. In PHP you can use both single quotes ( ‘ ‘ ) and double quotes ( ” ” ) for strings:

#12. Is JavaScript case-sensitive?

#13. How can you detect the client’s browser name?

#14. Where is the correct place to insert a JavaScript?

#15. Is jQuery a library for client scripting or server scripting?

#16. Which jQuery method should be used to deal with name conflicts?

#17. Look at the following selector: $(“div p”). What does it select?

#18. The jQuery animate() method can be used to animate ANY CSS property?

#19. Is it possible to use jQuery together with AJAX?

#20. With jQuery, look at the following selector: $(“div.intro”). What does it select?

Previous
Finish