JavaScript ja PHP viktoriin

 

#1. How do you write “Hello World” in an alert box?

#2. What is the correct JavaScript syntax for opening a new window called “w2” ?

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

#4. Is JavaScript case-sensitive?

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

#6. What is the correct way to add 1 to the $count variable?

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

#8. How do you create an array in PHP?

#9. The if statement is used to execute some code only if a specified condition is true

#10. What is the correct jQuery code to set the background color of all p elements to red?

#11. Which jQuery method is used to hide selected elements?

#12. Which jQuery method is used to perform an asynchronous HTTP request?

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

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

#15. Is jQuery a W3C standard?

#16. Which jQuery method is used to remove selected elements?

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

Previous
Finish

Results