Download presentation
Presentation is loading. Please wait.
Published bySharleen Francis Modified over 9 years ago
1
Basic HTML Hyper text markup Language
2
What is one of the most important lessons for a developer?
3
Debugging tips Divide and Conquer – divide a big problem into smaller problems and solve each piece Test your code incrementally – write a small piece of code. Test it. Write next piece of code. Test both pieces of code. Fix one problem at a time
4
Debugging
5
HTML debugging tips Does this page have an tag? Does every open tag have a corresponding closing tag? Are the tags nested correctly? Use tools like http://validator.w3.org/check
6
. Must be the first line of your HTML document Before tag Specifies the version of HTML used specifies HTML 5 Required if you use a validator
7
Find bugs in this piece of code. debug html Introduction to HTML debugging
8
Find bugs in this piece of code. Introduction to HTML debugging
9
Find bugs in this piece of code Tags and Attributes
10
Find bugs in this piece of code Charles Dickens Charles John Huffam Dickens (7 February 1812 born 9 June 1870) was an English novelist, generally considered the greatest of the Victorian period. Life Early years Charles Dickens was born in Landport, Hampshire, on 7 February 1812, to John and Elizabeth Dickens. He was the second of their eight children
11
Code hygiene Please add comments to describe sections of your code. It will help you and me understand your code better Correct alignment of code. makes code easy to understand Makes Debugging easier
12
After applying basic code hygiene, the previous piece of code, has been split into two slides
13
Charles Dickens Charles John Huffam Dickens (7 February 1812 born 9 June 1870) was an English novelist, generally considered the greatest of the Victorian period. Life Early years
14
Charles Dickens was born in Landport, Hampshire, on 7 February 1812, to John and Elizabeth Dickens. He was the second of their eight children
15
Pick up next few pieces of code and clean it.
16
Journalism and early years In 1833, Dickens' first story, A Dinner at Poplar Walk was published in the London periodical, Monthly Magazine
17
First visit to America In 1842, Dickens and his wife made his first trip to the United States and Canada During his visit, Dickens spent a month in New York City, giving lectures, raising support for copyright laws, and recording many of his impressions of America
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.