Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 46
NW6 | Fathi Kahin | JS2 | Codewars API project | Week 4 #14
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?
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -9,9 +9,15 @@ | ||
| content="Extending HTML to create a new component" | ||
| /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
| <link rel="stylesheet" type="text/css" href="./styles.css" /> | ||
| </head> | ||
| <body> | ||
| <codewars-badge></codewars-badge> | ||
| <h1> Fathi's Codewars Data: </h1> <br> | ||
| <table> | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this be a table? Is this tabular data? | ||
| <tr> | ||
| <td><codewars-badge></codewars-badge></td> | ||
| </tr> | ||
| </table> | ||
| <script async defer type="module" src="./codewars-badge.js"></script> | ||
| </body> | ||
| </html> | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| body { | ||
| background-color: #1D1D1B; | ||
| color: #7C9521; | ||
| margin: 0; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| height: 100vh; | ||
| } | ||
| .container { | ||
| text-align: center; | ||
| } | ||
| h1 { | ||
| margin: 0 auto; | ||
| } | ||
| table { | ||
| border-collapse: collapse; | ||
| width: 60%; | ||
| margin: 0 auto; | ||
| } | ||
| td { | ||
| border: 1px solid #7C9521; | ||
| padding: 10px; | ||
| } | ||
| codewars-badge { | ||
| --overall-rank: var(--badge-color, #f7941d); | ||
| --javascript-rank: var(--badge-color, #f7941d); | ||
| font: 600 100%/1 system-ui, sans-serif; | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
| data { | ||
| margin-top: 20px; | ||
| } | ||
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 this table valid? When you validated your HTML what did you find was missing?