Match the code on the left to the contract error on the right. If you get stuck, try typing the expression into the editor and see what happens!
Code | What’s the error? | ||
---|---|---|---|
|
1 |
A |
arguments are used in the wrong order |
|
2 |
B |
too many arguments are given |
|
3 |
C |
the function/operator requires input types to match |
|
4 |
D |
Boolean and number are used in place of 2 Booleans |
|
5 |
E |
strings are used in place of Booleans |
|
6 |
F |
the function is looking for a string and none is given |
|
7 |
G |
some arguments are missing |
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.