-
-
Notifications
You must be signed in to change notification settings - Fork 35
WM5 | ADNIYA YOUSAF | MODULE-JS-2 | CODEWARS-API-PROJECT | WEEK 4 #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cyf-codewars-projects ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fabulous work @adniyaYousaf! I have some questions:
Why are there two web components here? Did you get blocked on how to pass a new name in on index.html?
Knowing what you know now about mapping over templates, how would you iterate on this design to show a leaderboard for your class?
width:5rem; | ||
} | ||
</style> | ||
<div class="container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there another semantic HTML tag that sections content?
${this.userData.ranks.overall.name} | ||
</data> | ||
<data value="${this.userData.name}">Name: | ||
<span class="label">${this.userData.name}</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks to me like this is a description list or definition list.
Look into dl/dt/dd tags to group and structure this data
flex-direction:column; | ||
gap:1rem; | ||
width:60%; | ||
background:black; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I ran Lighthouse, it gave me a colour contrast problem on this style. What did you get?
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.