Freecodecamp: Challenge to set font-size to 10px will fail the test case under Chrome Chinese edition

Created on 19 Jun 2018  ·  7Comments  ·  Source: freeCodeCamp/freeCodeCamp

Describe your problem and - if possible - how to reproduce it

Chrome Chinese edition will adjust the text font size less than 12px to 12px, so the challenge to set font-size of p tag to 10px will always fail.

Add a Link to the page with the problem

https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-principles/create-a-media-query/

Tell us about your browser and operating system

  • Browser Name: Chrome
  • Browser Version: 67.0.3396.62
  • Operating System: macOS 10.13.5

If possible, add a screenshot here

2018-06-19 12 09 04

help wanted device specific learn

Most helpful comment

put "chrome://settings/fonts" in address box, and change settings item of "最小字号"(Minimum Font Size) to 10.

All 7 comments

This is a very browser specific issue. I can think of two ways to tackle this -

  • Update the challenge to use a font size >= 12px.
  • Add a warning to the challenge text saying 'tests will not pass on Chrome Chinese Edition'.

Yes, I think the first solution is much better.

I switched to Eng.

put "chrome://settings/fonts" in address box, and change settings item of "最小字号"(Minimum Font Size) to 10.

@raisedadead Any thoughts?

Yep, we could go as higher as 18px on this one. Thanks for reporting.

@raisedadead Could this be related to issue #34775?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

imhuyqn picture imhuyqn  ·  3Comments

kokushozero picture kokushozero  ·  3Comments

bagrounds picture bagrounds  ·  3Comments

DaphnisM picture DaphnisM  ·  3Comments

danielonodje picture danielonodje  ·  3Comments