@manjunathagee
Posted
Hi there, Went through the code and would like to provide some feedback.
- Learning should be a button rather than a div with styles, it's not semantic and will affect Accessibility
- Class names are direct string no need to use curly braces to evaluate the expression
className={'text-lg'}
instead useclassName="text-lg"
- Can use box shadow as an alternative to have shadow instead of creating extra div with positioning.
Marked as helpful
@SanazBHMN
Posted
@manjunathagee I had the same understanding from the very start of coding this challenge that Learning must be a button rather than a simple div, however, in the active state design of the challenge, it doesn't hold any active state. In that respect, I also concluded that it can be only a tag on the card.
@diarih
Posted
@SanazBHMN Hello, thanks for reviewing the code; I appreciate it. It might be just a simple tag component since it is inactive. However, I am open to any feedback in all regards.