You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: t6-test-changing-colours.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## T6 Test changing colours
2
2
3
-
Now using TDD to create a Constructor Function (also called a Class) that makes it easy to set the Test Colour of a block. Call the function `SetTestStatus`. The constructor function should take the element id as a parameter. It should have two functions called `testFailed` and `testPassed`
3
+
Now use TDD to create a Constructor Function (also called a Class) that makes it easy to set the Test Colour of a block. Call the function `SetTestStatus`. The constructor function should take the element id as a parameter. It should have two functions called `testFailed` and `testPassed`
4
4
5
5
Using it should look like this:
6
6
@@ -22,7 +22,7 @@ Create these files:
22
22
* fail_pass_test.js
23
23
* fail_pass.html
24
24
25
-
Remember to test that the `SetTestStatus`functions methods are changing the DOM elements as expected.
25
+
Remember to test that the methods of the `SetTestStatus`function are changing the DOM elements as expected.
0 commit comments