JavaScript Reference

JavaScript – break Statement

The break statement stops code execution within the switch, and also breaks out of a loop, continuing to execute code that comes after the loop.

JavaScript Reference

JavaScript – continue Statement

The continue statement breaks an iteration in the loop, if a specified condition occurs, and then continues with the next iteration in the loop.

JavaScript Reference

JavaScript – for…in Statement

The for…in statement loops over the properties of an object, executing a block of code inside the loop once for each item found.

JavaScript Reference

JavaScript – for…of Statement

The for…of statement loops over the values of any iterable, executing a block of code inside the loop once for each item found.

JavaScript Reference

JavaScript – if…else Statement

The if…else statement executes a block of code if a specified condition is true, and optionally, another block of code if false.

JavaScript Reference

JavaScript – switch Statement

The switch statement executes different blocks of code depending on set conditions, and uses the break keyword to break out of the switch block.

PHP Reference

PHP – and Keyword

The PHP and keyword is a logical operator and is used to combine conditional statements.

PHP Reference

PHP – case Keyword

The PHP case keyword is used to jump to a line of code when an expression has a specific value in a switch conditional.

PHP Reference

PHP – default Keyword

The PHP default keyword is used in a switch block to specify which code to run when none of the case statements were matched by the expression.

PHP Reference

PHP – else Keyword

The PHP else keyword specifies a block of code which should run when the condition of an if statement is not met.

PHP Reference

PHP – elseif Keyword

The PHP elseif keyword tests a new condition if the condition of a previous if or elseif statement was not met.

PHP Reference

PHP – if Keyword

The PHP if keyword is used to create an if conditional. The elseif and else keywords can then be used to run code when the if condition is not met.

HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress
HTML
CSS
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

1SMARTchicken Icon