<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Forum Pasja Informatyki - Najnowsze z tagiem codecademy</title>
<link>https://forum.pasja-informatyki.pl/tag/codecademy</link>
<description>Powered by Question2Answer</description>
<item>
<title>Codecademy - wasze opinie</title>
<link>https://forum.pasja-informatyki.pl/36312/codecademy-wasze-opinie</link>
<description>Tak jak w temacie, co sądzicie o codecademy.com?&lt;br /&gt;
&lt;br /&gt;
Zacząłem przerabiać kurs HTML'a (tak dla przypomnienia). Czy informacje na tej stronce są aktualne i zgodne z HTML5?&lt;br /&gt;
&lt;br /&gt;
I jak mają się te kursy z innych języków, przykładowo PHP i JS bo na nich mi najbardziej zależy?</description>
<category>HTML i CSS</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/36312/codecademy-wasze-opinie</guid>
<pubDate>Wed, 01 Jul 2015 20:11:19 +0000</pubDate>
</item>
<item>
<title>Problem z CSS-em podczas nauki na codecademy.</title>
<link>https://forum.pasja-informatyki.pl/34546/problem-z-css-em-podczas-nauki-na-codecademy</link>
<description>

&lt;p&gt;Nie wiedziałem w której kategorii umieścić ten wpis więc dodaje go tutaj jeżeli nie słusznie to przepraszam.&lt;/p&gt;



&lt;p&gt;Rozwiązuje zadania z HTML-a i CSS-a na stronie&amp;nbsp;codecademy, mój angielski nie do końca pozwala mi zrozumieć o co chodzi w tych poleceniach. Nie chodzi mi o podanie gotowego rozwiązania tylko o jakąś podpowiedź i sugestie. Dodam jeszcze kod CSS który ja próbowałem zrobić.&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;Mój kod CSS:&lt;/p&gt;



&lt;pre class=&quot;brush:css;&quot;&gt;
p{font-family:Garamond;}

div p{font-weight:bold;}

div &amp;gt; p {color#7ac5cd;}&lt;/pre&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;Wprowadzenie:&lt;/p&gt;



&lt;blockquote&gt;


&lt;p&gt;Can you swing it?&lt;/p&gt;



&lt;p&gt;Good work! Let's try something a little more involved.&lt;/p&gt;



&lt;p&gt;Remember, you can reach an element that is a child of another element like this:&lt;/p&gt;



&lt;pre&gt;
&lt;span style=&quot;color:rgb(204, 102, 102)&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color:rgb(204, 102, 102)&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color:rgb(204, 102, 102)&quot;&gt;p&lt;/span&gt; { &lt;span style=&quot;color:rgb(181, 189, 104)&quot;&gt;/* Some CSS */&lt;/span&gt; }
&lt;/pre&gt;



&lt;p&gt;where in this case, we'd be grabbing any&amp;nbsp;&amp;lt;p&amp;gt;that is nested&amp;nbsp;&lt;em&gt;somewhere&lt;/em&gt;&amp;nbsp;inside a&amp;nbsp;&amp;lt;div&amp;gt;&amp;nbsp;that is nested&amp;nbsp;&lt;em&gt;somewhere&lt;/em&gt;&amp;nbsp;inside another&amp;nbsp;&amp;lt;div&amp;gt;. If you want to grab&amp;nbsp;&lt;em&gt;direct children&lt;/em&gt;—that is, an element that is&amp;nbsp;&lt;em&gt;directly&lt;/em&gt;&amp;nbsp;nested inside another element, with no elements in between—you can use the&amp;nbsp;&amp;gt;&amp;nbsp;symbol, like so:&lt;/p&gt;



&lt;pre&gt;
&lt;span style=&quot;color:rgb(178, 148, 187)&quot;&gt;div&lt;/span&gt; &amp;gt; &lt;span style=&quot;color:rgb(178, 148, 187)&quot;&gt;p&lt;/span&gt; { &lt;em&gt;/* Some CSS */&lt;/em&gt; }
&lt;/pre&gt;



&lt;p&gt;This only grabs&amp;nbsp;&amp;lt;p&amp;gt;s that are nested&amp;nbsp;&lt;em&gt;directly&lt;/em&gt;inside of&amp;nbsp;&amp;lt;div&amp;gt;s; it won't grab any paragraphs that are, say, nested inside lists that are in turn nested inside&amp;nbsp;&amp;lt;div&amp;gt;s.&lt;/p&gt;
&lt;/blockquote&gt;



&lt;p&gt;Polecenia:&amp;nbsp;&lt;/p&gt;



&lt;blockquote&gt;


&lt;ol&gt;
	

&lt;li&gt;Make all&amp;nbsp;&amp;lt;p&amp;gt;&amp;nbsp;tags have a font-family of Garamond. (Do NOT use the universal selector for this! There's a better way; see the Hint for help.)&lt;/li&gt;
	

&lt;li&gt;Make the introduction paragraph and the summary paragraph have a&amp;nbsp;font-weight&amp;nbsp;ofbold&amp;nbsp;(this is a new property for you, but it works just like the others you've learned).&lt;/li&gt;
	

&lt;li&gt;Make the synopsis paragraph have the color&amp;nbsp;#7AC5CD.&lt;/li&gt;
	

&lt;li&gt;Make the paragraphs in the unordered list have the color&amp;nbsp;#000000&amp;nbsp;and text-decorationunderline.&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;



&lt;p&gt;Podpowiedź:&amp;nbsp;&lt;/p&gt;



&lt;blockquote&gt;


&lt;p&gt;&lt;span style=&quot;background-color:rgb(240, 250, 255); font-family:open sans,hevetica neue,helvetica,sans-serif; font-size:15px&quot;&gt;What happens if you just set all&amp;nbsp;&lt;/span&gt;&amp;lt;p&amp;gt;&lt;span style=&quot;background-color:rgb(240, 250, 255); font-family:open sans,hevetica neue,helvetica,sans-serif; font-size:15px&quot;&gt;&amp;nbsp;tags to have the font Garamond? Since nothing &quot;downstream&quot; of the cascade (that is, no other selector that's more specific than just&lt;/span&gt;p&lt;span style=&quot;background-color:rgb(240, 250, 255); font-family:open sans,hevetica neue,helvetica,sans-serif; font-size:15px&quot;&gt;) changes the font-family, this should make all paragraphs have the same font!&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;



&lt;pre class=&quot;brush:xml;&quot;&gt;
Kod strony do którego tworzymy CSS:

&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
	&amp;lt;head&amp;gt;
		&amp;lt;link type=&quot;text/css&quot; rel=&quot;stylesheet&quot; href=&quot;stylesheet.css&quot;/&amp;gt;
		&amp;lt;title&amp;gt;Ultimate Text Challenge&amp;lt;/title&amp;gt;
	&amp;lt;/head&amp;gt;
	&amp;lt;body&amp;gt;
		&amp;lt;p&amp;gt;Introduction: Cascading with CSS&amp;lt;/p&amp;gt;
		&amp;lt;div&amp;gt;
			&amp;lt;p&amp;gt;Synopsis: When you set a property of a selector like 'p' to a certain value, that value applies to &amp;lt;em&amp;gt;all&amp;lt;/em&amp;gt; p tags.
			If, however, you change that same property to a different value for a more specific instance of p,
			that change will &amp;lt;em&amp;gt;override&amp;lt;/em&amp;gt; the 'general rule'.
			&amp;lt;/p&amp;gt;
			&amp;lt;ul&amp;gt;
				&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If you say p { font-family: Garamond}, all 'p's will have the font Garamond.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;
				&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;BUT if you say li p {font-family: Verdana}, 'p's outside of 'li's will be
					   in Garamond, and 'p's INSIDE 'li's will be in Verdana.
				&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;
				&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;The more specific your selectors are, the higher importance CSS gives to the styling you apply!&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;
			&amp;lt;/ul&amp;gt;
		&amp;lt;/div&amp;gt;
		&amp;lt;p&amp;gt;Summary: Greater specificity makes CSS prioritize that particular styling.&amp;lt;/p&amp;gt;
	&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;EDIT-Prawidłowe rozwiązanie:&amp;nbsp;&lt;/p&gt;



&lt;pre class=&quot;brush:css;&quot;&gt;
p {font-family:Garamond;}
body &amp;gt; p{
    font-weight:bold;}

div &amp;gt; p{color:#7ac5cd; }

ul p {color:#000000;
text-decoration:underline;}
&lt;/pre&gt;



&lt;p&gt;&amp;nbsp;&lt;/p&gt;



&lt;p&gt;Powód zamknięcia: uzyskanie odpowiedzi.&lt;/p&gt;</description>
<category>HTML i CSS</category>
<guid isPermaLink="true">https://forum.pasja-informatyki.pl/34546/problem-z-css-em-podczas-nauki-na-codecademy</guid>
<pubDate>Fri, 26 Jun 2015 09:22:25 +0000</pubDate>
</item>
</channel>
</rss>