Skip to content
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

text should be zoom to 100% #11364

Closed
Sbusiey opened this issue Oct 25, 2016 · 4 comments
Closed

text should be zoom to 100% #11364

Sbusiey opened this issue Oct 25, 2016 · 4 comments

Comments

@Sbusiey
Copy link

Sbusiey commented Oct 25, 2016

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

<style>
  .red-text {
    color: red;
  }

  .p{font-size:16 pixels}

</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

<p class="p">Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
@ghost
Copy link

ghost commented Oct 25, 2016

@Sbusiey
There are few mistakes in your code.

  1. Create a new <p></p> element with Kitty ipsum text. No need to put any class name on that paragraph
  2. In <style> tags use a p indicator for a paragraph. dot(.) is used on classes and you don't need class as I mentioned in example above
  3. size is measured in pixels in this case. So if you wanna put a specific size, you will write:
    font-size: 16px and not font-size: 16 pixels.
    Note that 16 and px need to be put together without a spacing.

For future problems with code, please check FCC help

@Sbusiey
Copy link
Author

Sbusiey commented Oct 25, 2016

@Dayfiri
thanks for help 👍

@Jatasya11
Copy link

<style> .red-text { color: red; } </style>

CatPhotoApp

<style> .p { font-size: 16px; } </style>

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

how to solve this query ?
Between the style tags, give the p elements font-size of 16px. Browser and Text zoom should be at 100%.

@texas2010
Copy link
Member

@Jatasya11
Please use the Help chat room for getting challenge related help.

Happy Coding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants