JS & PHP test

 

Results

#1. JS, The external JavaScript file must contain the <script> tag.

#2. JS, How do you write “Hello World” in an alert box?

#3. JS, How do you call a function named “myFunction”?

#4. JS, How does a WHILE loop start?

#5. JS, Which event occurs when the user clicks on an HTML element?

#6. JS, How do you declare a JavaScript variable?

#7. PHP, The PHP syntax is most similar to:

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

#9. PHP, What is the correct way to include the file

#10. PHP, Which superglobal variable holds information about headers, paths, and script locations?

#11. PHP, What is a correct way to add a comment in PHP?

#12. PHP, Which one of these variables has an illegal name?

#13. PHP, How do you create a cookie in PHP?

#14. JQuery, jQuery uses CSS selectors to select elements?

#15. Jquery, Which sign does jQuery use as a shortcut for jQuery?

#16. Jquery, Look at the following selector: $(“div”). What does it select?

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

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

Previous
Finish