Stuck On Font Family Exercise


#1

Below is the code I am submitting it keeps saying Oops, try again. It looks like your second

  • 's font-size is 16px instead of 12px. Don't know what I am doing wrong here. Thanks!







    Big title



    1. This item is big Arial.


    2. This item is medium Verdana.


    3. This item is small Impact.





  • #3


    #4

    style is an attribute you can add to many html opening tags, this exercises already provides you with the opening tags. Remove your <p> and add the style attribute to your list opening tags


    #5

    @stetim94 awesome that worked! thank you!


    #6

    need help.here is my code






    Big title



    1. This item is big Arial.

    2. style="font-size:12px";"font-family: Verdana">This item is medium Verdana.

    3. This item is small Impact.
      	 </ol>
      </body>


    #7

    if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make your code visible:

    select your code and press ctrl + k (or cmd + k 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


    #8

    Im stuck, it says "Oops, try again. It looks like your first

  • 's font-size is 16px instead of 16px."
    what do i need to change







    Big title



    1. This item is big Arial.


    2. This item is medium Verdana.


    3. This item is small Impact.




  • #9

    make sure your browser zoom is 100% (ctrl + 0 or cmd + 0 for mac)

    if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make your code visible:

    select your code and press ctrl + k (or cmd + k 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


    #10

    here is my code, thanks

    <!DOCTYPE html>
    
    <html>
    	<head>
    		<title>Loving the font changes</title>
    	</head>
    	<body>
    		<h1 style="font-family: Arial">Big title</h1>
    		 <ol><h1 style="font-size: 16px; font-family: Arial">
    		 	<li>This item is big Arial.</li>
    		 	<h1 style="font-size: 12px; font-family: Verdana">
    		 	<li>This item is medium Verdana.</li>
    		 	<h1 style="font-size: 10px; font-family: Impact">
    		 	<li>This item is small Impact.</li>
    		 </ol>
    	</body>
    </html>

    #11

    style is an attribute you can add to many html opening tags, you should have added them (style attributes) to the <li> opening tag instead of creating h1 opening tags. (<h1 style="font-family: Arial">Big title</h1> is fine, this goes over the h1 tags inside your ordered list)

    You could tell something is wrong, by the fact that your h1 opening tags in your ordered list do not have a matching h1 closing tag


    #12

    i need help on the size 16 font
    use the above code


    #13

    Didn't my answer help you?