Programming Assignment 1
Programming Assignment 1
Programming Assignment
1. Identify 3 web sites, which you've visited in the past. Run the HTML validating software
against each site. You can select any of the validating tools available online.
2. Provide comments on results of your exercise for each web site. Make sure to list any
problems identified. Also provide a link to the validation tool you used.
3. For each site answer: What works well on this site? What could be improved?
i. System-icons
ii. Typography
iii. Typography-spacing
iv. Darker-darker-theme
v. Origin-trial for attribute http-equiv
vi. Handheld for the attributed media. It stated that the media handheld has been
deprecated.
vii. The name attribute is not allowed on element script at this point
viii. Autocorrect not allowed on element input at this point.
ix. View box not allowed on element g at this point
Link for the website validator used: https://validator.w3.org/nu/?doc=https%3A%2F
%2Fwww.youtube.com%2F
The second website is https://weda.gov.gh/ . The errors identified are as follows:
i. CSS: --global-vw, which say the types are incompatible.
ii. There is a warning in it which says, the banner role is unnecessary for element
header.
iii. Warning: the navigation role is unnecessary for element nav.
iv. Warning: the main role is unnecessary for element main.
v. Element style not allowed as child of element div in this context.
vi. Warning: section lacks heading. It states that using h2-h6 elements to adding
identifying headings to all sections, or else use a div element instead for any cases
where no heading is needed.
vii. Element style not allowed as child of element div is this context.
Link for the website validator: https://validator.w3.org/nu/?doc=https%3A%2F
%2Fweda.gov.gh%2F
The third website I validated is https://frankotrading.com/?s=tablets+&post_type=product . With
this website, the error I noticed is the IO Error which states that HTTP resource is not
retrievable. The HTTP status from the remote server was: 500.
Link for the website validator: https://validator.w3.org/nu/?doc=https%3A%2F
%2Ffrankotrading.com%2F%3Fs%3Dtablets%2B%26post_type%3Dproduct
In my own opinion, the first and second websites are very good and attractive for some of its
headlines. However, it can increase load time for people who have slow download rates. My
suggestion would be instead of having every article’s headline as an image, it would be fine to
have just text also like what the CBC news has.
Reference: