Hi Folks,
I got a free voucher from Microsoft for programming HTML 5 and CSS 3 Exam. I studied and reviewed online video materials and i want to share with you my study notes and hope this will be helpful for passing the exam. Congratulations in advance for everyone!.
My Notes:
I got a free voucher from Microsoft for programming HTML 5 and CSS 3 Exam. I studied and reviewed online video materials and i want to share with you my study notes and hope this will be helpful for passing the exam. Congratulations in advance for everyone!.
My Notes:
- Use accepts:'application/bin,text/xml' to accepts only XML and binary content in HTML responses.
- Use the following condition to check if the html response content is binary: If(request.getResponseHeader("Content-Type")=="application/bint"
- To show the status of upload is displayed in the progress bar:Xhr.upload.onprogress=
- To support 2 way communication between a web page and a worker role, implement the following:
- From the main page, use onmessage event handler of the web worker to capture events.
- From the web worker, use the onmessage event handler of the main page to capture events.
- Standard-complaint screen readers must be able to identify the links contained within the navigation structure automatically: Use semantic markup.
- Use appendChild to add a control in DOM document.
- To extend a class with a method you should use prototype keyword as follows: Customer.prototype.GetCommission() = funct() {…}
- If you want an input control to allow only numeric values, use the following: type="number"
- To pass objects between web page and web worker you can use: JSON,String and JavaScript types.
- To register an event listener for the web worker use addEventListenr and to stop a web worker use: self.close();
- Anchor selector order: a:link --> a:visted --> a:hover --> a:active
- Use Figure semantic markup to include image and its caption using figcaption markup.
- To store user's information you can use: localStorage to get or set user's data.
- To write a code to throw an error: throw new Error("Invalid",200)
- To show @ in the email address for a submitted form, Use: str=$("form").serialize() ; str=decodeUriComeponent(str);
- Apply styles from highest to lowest priority:
- User agent style sheets
- Author normal style sheets
- Author important style hseets
- User normal style sheets
- User important style sheets
- To make sure that the advertisement section on the right most of the page use:
- To handle automatically each time the request status change use xhr.onreadstatechange
- Catch specific error number by using e.number and not e.message
- To use text-transform in CSS, you should use captalize semantic tag.
- You need to group page content together to maximize search engine readability use article semantic markup.
- When you want the inner paragraph exactly far from the outer paragraph, then you should use Relative.
- To show JSON confirmation number in a label: $("#txtValue").text(JSONObject.Confirmation);
- To show text around an image is showing in the center of the page use: -ms-wrap-side: both
- Use header to apply css or classes to different heading markup such as: H1,H2
**Videos - Jump start from Microsoft Virtual academy:
https://www.microsoftvirtualacademy.com/tracks/developing-html5-apps-jump-start
Good Luck, Feel free to drop a line with any feedback you would like to add.
No comments:
Post a Comment