HTML Basics font color-Oops, try again. It looks like your second paragraph's font-size is 12px instead of 10px


#1

Anyone know how to pass below?
Below is my code. It returns saying"Oops, try again. It looks like your second paragraph's font-size is 12px instead of 10px." I tried Ctrl+0. Didn't work.

<!DOCTYPE html>
<html>
	<head>
		<title>Changing the colors!</title>
	</head>
	<body>
		<h1 style = "color: green; font-size: 16px;">Big Heading</h1>
			<p style="color: violet">A giant bear and a little duck were friends.</p>
			<p style="color: red; font-size: 10px;">But the bear got hungry and ate the duck.</p>
	</body>
</html>

#2

@summerwu,

Please re-edit your Post

  • leave one blank-line above of your code
  • select your code in the Post
  • then =click= on the </>-symbol-of-this-editor

Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.

or even better use
= http://discuss.codecademy.com/t/using-backticks-to-format-your-code/3697
[extra's]
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet


#3

your code is fine, your browser has a minimum font-size setting, do a google search: disable minimum font-size chrome

if you don't use chrome, replace it with what you do you

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard


#4

@summerwu,

I'm using Chrome.
font-size is 16.3636360168457px instead of 16px.
You have to enter the 'Settings' => 'Advanced settings' (in the very bottom)
and to chose 100% in the Page scale (in my browser it was 125%).
http://www.codecademy.com/forum_questions/5562cbbe93767652470006d0


#5

Hey, thank you so much!


#6

4 posts were split to a new topic: [solved]need help exercise 10 html basic 2


#7

A post was merged into an existing topic: [solved]need help exercise 10 html basic 2


#8

A post was merged into an existing topic: [solved]need help exercise 10 html basic 2


#9

A post was merged into an existing topic: [solved]need help exercise 10 html basic 2