Hi Mustapha. Here is my observation:
HTML
- the first heading of a site should be an h1 element and the heading elements should follow a sequential order without skipping headings. Hence the
h3
cannot be the first heading element. - use semantic elements , where interaction is involved do not use elements such as
p, div, span etc
. The theme should have been radio buttons notp
elements and the calculator should have buttons not span elements. Currently your calculator cannot be used by keyboard users.
js
- a calculator should have a maximum limit of numbers that it can take not one that can take an number that a user can punch in.
- I do not expect a calculator to accept the following
.........56666
3.×3++++++---
undefined26++98
Press equal sign first
- try the following calculations
0.2 + 0.1
Marked as helpful
1
Farouk Mustapha• 230
@Farouk-ayo
Posted
@ChamuMutezva Thanks a lot Chamu .Have made corrections on those semantics elements. I'll work on on those Js functionality u stated and the usage of keypresses too.
1