-
Notifications
You must be signed in to change notification settings - Fork 22.9k
Add challenge to test media, form, and table styling #41414
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?
Add challenge to test media, form, and table styling #41414
Conversation
Preview URLs
External URLs (3)URL:
(comment last updated: 2025-10-13 10:39:22) |
files/en-us/learn_web_development/core/styling_basics/home_color_scheme_search/index.md
Outdated
Show resolved
Hide resolved
files/en-us/learn_web_development/core/styling_basics/home_color_scheme_search/index.md
Show resolved
Hide resolved
files/en-us/learn_web_development/core/styling_basics/home_color_scheme_search/index.md
Outdated
Show resolved
Hide resolved
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.
The style is different than the others we have reviewed - in that it is all done in the play area rather than downloading the files and creating an example. Is there any particular reason for this/does it matter?
I've had a quick look but I'm finding it hard to get a real final feel without the images rendering. Can you ping me when that's working?
…or_scheme_search/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Several challenges do it this way; you've mostly reviewed the ones that do it the other way. This way works for smaller UI features and examples that don't take up much space. The other approach works better for entire pages, where having a full browser to test in matters, such as media query-dependent features, etc. I don't think this is a problem.
Yup, sure thing. |
…or_scheme_search/index.md Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
@hamishwillee OK, the images are now merged into |
} | ||
``` | ||
|
||
{{embedlivesample("app-start", "100%", 500)}} |
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.
@chrisdavidmills You might want to make this even taller, exposing more of the example. Ideally full size, though if that looks stupid, I would break it inside one of the cells so that it is clear there is more below the fold.
Ditto for the final version.
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.
@chrisdavidmills Looks good. I'd consider making all your solutions in all learn topics follow a similar "Solution" markup. Something to think about.
This is good. I have a nit in https://github.com/mdn/content/pull/41414/files#r2427550252 but approving in case you wish to ignore that.
Nice one.
Description
This PR is part of a series in which I update the Learn area "Challenge" articles. In general, they need to be modernized, restructured, and put in better positions in the modules so they are spaced out better and test subjects that have already been covered.
Specifically, this PR adds a new challenge that tests the reader's knowledge of form, table, and media styling.
Note
This PR still needs to be updated to include the correct image URLs, once mdn/shared-assets#71 has been merged.
Motivation
Additional details
Related issues and pull requests