Presentation is loading. Please wait.

Presentation is loading. Please wait.

An in-class debugging exercise. All based upon real errors.

Similar presentations


Presentation on theme: "An in-class debugging exercise. All based upon real errors."— Presentation transcript:

1 An in-class debugging exercise. All based upon real errors.

2 Alex B Cook Alex Having a dog can be a very rewarding experience. However, there are a few challenges that any canine owner should be aware. Identification Your dog should wear a collar at all times. :

3 Alex B Cook Alex Having a dog can be a very rewarding experience. However, there are a few challenges that any canine owner should be aware. Identification Your dog should wear a collar at all times. :

4 American Bobtail Burmese Egyptian Mau Manx Sphynx

5 American Bobtail Burmese Egyptian Mau Manx Siamese Sphynx End li tags are not required. Always watch out for i vs 1. American Bobtail Burmese Egyptian Mau Manx Sphynx

6 Visit the Vet Your dog should be checked with a local veterinarian. He should be fully vaccinated. Booster vaccination will be required yearly. It is especially important that your dog is neutered before he comes in contact with other dogs. Neutering will prevent many of the dogs more anti-social habits. The First Day Home It is best to keep him on a leash. :

7 Visit the Vet Your dog should be checked with a local veterinarian. He should be fully vaccinated. Booster vaccination will be required yearly. It is especially important that your dog is neutered before he comes in contact with other dogs. Neutering will prevent many of the dogs more anti-social habits. The First Day Home It is best to keep him on a leash. :

8 Alex B Cook

9 Alex B Cook

10 funny.jpg The image files are in the same folder as the page with this code.

11  removed images funny.jpg The image files are in the same folder as the page with this code.

12 The penalty for killing a cat, 4,000 years ago in Egypt, was death. 95% of cat guardians admit they talk to their cats. A cat can be either right-pawed or left-pawed. A cat can jump as much as seven times its height. A cat has 230 bones in its body. A human only has 206 bones. A cat has four rows of whiskers. Source: http://www.pets90210.org/trivia.asp

13 The penalty for killing a cat, 4,000 years ago in Egypt, was death. 95% of cat guardians admit they talk to their cats. A cat can be either right-pawed or left-pawed. A cat can jump as much as seven times its height. A cat has 230 bones in its body. A human only has 206 bones. A cat has four rows of whiskers. Source: http://www.pets90210.org/trivia.asp

14 td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } h1, h2, h3, h4, p { font-family: Verdana, Arial, Helvetica, sans-serif; } #mainnav { background: skyblue: text-align: center; margin: 0; padding: 0.25em; } #info { background-color: #8BB381; }

15 td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; } h1, h2, h3, h4, p { font-family: Verdana, Arial, Helvetica, sans-serif; } #mainnav { background: skyblue;  change colon to semicolon text-align: center; margin: 0; padding: 0.25em; }.info {  a class should have a period before its name background-color: #8BB381; }

16 .content first-letter { font-size: 3em; float: left; line-height: 0.8em; } footer.callout:before { content: images/.globe.png); }.left,.right { width: 200px; height: 150px; position: absolute; top: 130px; index: 2; }

17 .content :first-letter {  missing colon font-size: 3em; float: left; line-height: 0.8em; } footer.callout:before { content: url("images/globe.png");.left,.right { width: 200px; height: 150px; position: absolute; top: 130px; z-index: 2; }

18 | Project 3 | Project 4 | Unit E | Dog Rescue | Bottom of Page

19 | Project 3 | Project 4 | Unit E | Dog Rescue | Bottom of Page | Project 3 | Project 4 | Unit E | Dog Rescue | Bottom of Page

20 : Be Consistent Your new dog must learn a whole set of new rules. Be patient and be consistent. If you want him off the furniture, don't allow him to sit on the couch "sometimes". Don't allow him to do something one time and forbid it another. Your name: Alex b Cook Your section number: HTML5,CSS3 Unit Z Project 0

21 : Be Consistent Your new dog must learn a whole set of new rules. Be patient and be consistent. If you want him off the furniture, don't allow him to sit on the couch "sometimes". Don't allow him to do something one time and forbid it another. Your name: Alex b Cook Your section number: HTML5,CSS3 Unit Z Project 0

22 Style sheet for TASK h2 h3 { text-align: center; h4 { text-align: right } #resp { margin left: auto; margin-right; auto; border style: solid; border width: 0.1em; padding: 1; }

23 /* Style sheet for TASK */ h2, h3 { text-align: center; } h4 { text-align: right; } #resp { margin-left: auto; margin-right; auto; border-style: solid; border-width: 0.1em; padding: 1em; }  Missing comment tags  Missing comma  Missing }  Missing ;  Missing –  ; should be a :  Missing -  Missing –  Missing em

24 Alex B Cook Alex Having a dog can be a very rewarding experience. However, there are a few challenges that any canine owner should be aware. Identification :

25 Alex B Cook Alex Having a dog can be a very rewarding experience. However, there are a few challenges that any canine owner should be aware. Identification :


Download ppt "An in-class debugging exercise. All based upon real errors."

Similar presentations


Ads by Google