<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>Jquery day1 by BCS</title>
      <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe</link>
      <description>DOM manipulation intro</description>
      <language>en-us</language>
      <pubDate>2017-06-01 15:25:15 UTC</pubDate>
      <lastBuildDate>2017-06-02 07:58:35 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>LUKE exercise 2</title>
         <author>BarcelonaCodeSchool</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174834946</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html lang="en"&gt;<br>&lt;head&gt;<br>&nbsp; &nbsp; &lt;meta charset="UTF-8"&gt;<br>&nbsp; &nbsp; &lt;title&gt;Document&lt;/title&gt;<br>&nbsp; &nbsp; &lt;script src="https://code.jquery.com/jquery-3.1.0.js" &gt;&lt;/script&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>&nbsp; &nbsp;<br>&nbsp; &nbsp; &lt;div id = "exerciseTest"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;HTML DOM Tutorial&lt;/p&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;strong&gt;w3resource&lt;/strong&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;button id="button1"&gt;Click to see the effect&lt;/button&gt;&nbsp;<br>&nbsp; &nbsp; &lt;/div&gt;<br><br><br><br><br>&lt;!--//this would be written in the seperate jQuery Script sheet--&gt;<br>&lt;script&gt; function addDiv(){<br>&nbsp; &nbsp; $('p').after('&lt;div&gt;This was added with jQuery&lt;/div&gt;');<br>&nbsp; &nbsp; }&lt;/script&gt;<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp;&nbsp;<br>&lt;script&gt;addDiv()&lt;/script&gt;<br><br><br>&lt;/body&gt;<br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:26:27 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174834946</guid>
      </item>
      <item>
         <title>LUKE exercise3</title>
         <author>BarcelonaCodeSchool</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835084</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html lang="en"&gt;<br><br>&lt;head&gt;<br>&nbsp; &nbsp; &lt;meta charset="UTF-8"&gt;<br>&nbsp; &nbsp; &lt;title&gt;Document&lt;/title&gt;<br>&nbsp; &nbsp; &lt;script src="https://code.jquery.com/jquery-3.1.0.js"&gt;&lt;/script&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br><br>&nbsp; &nbsp; &lt;div id="exerciseTest"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;ul&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li name="color" value="Red"&gt;Sun&lt;/li&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span&gt; Sea&lt;/span&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li value="Cold Fusion"&gt;Sand&lt;/li&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;li name="accept" value="Evil Plans"&gt;Hill&lt;/li&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span&gt; Dale&lt;/span&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/ul&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;button id="button1"&gt;Click to see the effect&lt;/button&gt;<br>&nbsp; &nbsp; &lt;/div&gt;<br><br><br><br><br>&nbsp; &nbsp; &lt;!--//this would be written in the seperate jQuery Script sheet--&gt;<br>&nbsp; &nbsp; &lt;script&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; function findLi() {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $('li:not([name="color"])').after('&lt;span&gt; with no color &lt;/span&gt;');<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &lt;/script&gt;<br><br><br>&nbsp; &nbsp; &lt;script&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; findLi()<br><br>&nbsp; &nbsp; &lt;/script&gt;<br><br><br>&lt;/body&gt;<br><br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:27:13 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835084</guid>
      </item>
      <item>
         <title>LUKE exercise4</title>
         <author>BarcelonaCodeSchool</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835186</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html lang="en"&gt;<br><br>&lt;head&gt;<br>    &lt;meta charset="UTF-8"&gt;<br>    &lt;title&gt;Document&lt;/title&gt;<br>    &lt;script src="https://code.jquery.com/jquery-3.1.0.js"&gt;&lt;/script&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br><br>    &lt;div&gt;<br>        &lt;div&gt;<br>            &lt;label&gt;<br>&lt;input type="radio" name="color" value="Red"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>        &lt;/div&gt;<br>        &lt;div&gt;<br>            &lt;label&gt;<br>&lt;input type="radio" name="color" value="Green"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>        &lt;/div&gt;<br>        &lt;div&gt;<br>            &lt;label&gt;<br>&lt;div type="radio" name="color" value="Red"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>        &lt;/div&gt;<br>        &lt;button id="button1"&gt;Click to see the effect&lt;/button&gt;<br>    &lt;/div&gt;<br><br><br><br><br>    &lt;!--//this would be written in the seperate jQuery Script sheet--&gt;<br>    &lt;script&gt;<br>        function findLi() {<br>            $('input[value="Red"]').next().text("the value is red!");<br>        }<br>    &lt;/script&gt;<br><br><br>    &lt;script&gt;<br>        findLi()<br>    &lt;/script&gt;<br><br><br>&lt;/body&gt;<br><br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:27:34 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835186</guid>
      </item>
      <item>
         <title>LUKE exercise5</title>
         <author>BarcelonaCodeSchool</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835380</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html lang="en"&gt;<br><br>&lt;head&gt;<br>&nbsp; &nbsp; &lt;meta charset="UTF-8"&gt;<br>&nbsp; &nbsp; &lt;title&gt;Document&lt;/title&gt;<br>&nbsp; &nbsp; &lt;script src="https://code.jquery.com/jquery-3.1.0.js"&gt;&lt;/script&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br><br>&nbsp; &nbsp; &lt;body id="exerciseTest"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="tutorial-php"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;PHP&lt;/p&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="JAVAtutorial"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Java&lt;/p&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="python-tutorial"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Python&lt;/p&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;button id="button1"&gt;Click to see the effect&lt;/button&gt;<br>&nbsp; &nbsp; &lt;/body&gt;<br><br><br><br><br>&nbsp; &nbsp; &lt;!--//this would be written in the seperate jQuery Script sheet--&gt;<br>&nbsp; &nbsp; &lt;script&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; function findbyAtt() {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $("div[id$='tutorial']").css("background-color", "yellow");<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &lt;/script&gt;<br><br>&nbsp; &nbsp; &lt;script&gt;findbyAtt()&lt;/script&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:28:32 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835380</guid>
      </item>
      <item>
         <title>LUKE exercise 6</title>
         <author>BarcelonaCodeSchool</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835494</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html lang="en"&gt;<br><br>&lt;head&gt;<br>&nbsp; &nbsp; &lt;meta charset="UTF-8"&gt;<br>&nbsp; &nbsp; &lt;title&gt;Document&lt;/title&gt;<br>&nbsp; &nbsp; &lt;script src="https://code.jquery.com/jquery-3.1.0.js"&gt;&lt;/script&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br><br>&nbsp; &nbsp; &lt;div id="exerciseTest"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;form&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;label for="name"&gt;Child of form:&lt;/label&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name="name" id="name"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;fieldset&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;label for="newsletter"&gt;Grandchild of form, child of fieldset:&lt;/label&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input name="newsletter" id="newsletter"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/fieldset&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/form&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; Sibling to form: &lt;input name="none"&gt;<br>&nbsp; &nbsp; &lt;/div&gt;<br><br><br><br><br>&nbsp; &nbsp; &lt;!--//this would be written in the seperate jQuery Script sheet--&gt;<br>&nbsp; &nbsp; &lt;script&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; function findDirect() {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $("form").find("label").css({<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "border-color":"red",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "border-width":"1px",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "border-style":"dotted",<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; })<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &lt;/script&gt;<br><br>&nbsp; &nbsp; &lt;script&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; findDirect()<br><br>&nbsp; &nbsp; &lt;/script&gt;<br><br><br><br>&lt;/body&gt;<br><br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:29:00 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174835494</guid>
      </item>
      <item>
         <title>Gosia Ex2</title>
         <author>gosiapietron</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837397</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"&gt;&lt;/script&gt;<br>	&lt;title&gt;&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;div id = "exerciseTest"&gt;<br>&lt;p&gt;HTML DOM Tutorial&lt;/p&gt;<br>&lt;b&gt;w3resource&lt;/b&gt;<br>&lt;button id="button1"&gt;Click to see the effect&lt;/button&gt; <br>&lt;/div&gt;<br><br><br>&lt;script&gt;<br>var addDiv= function(){<br>&nbsp;$("p").before("This was added with jQuery")<br><br>} <br>addDiv()<br><br>&lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:37:48 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837397</guid>
      </item>
      <item>
         <title>Gosia Ex3</title>
         <author>gosiapietron</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837445</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"&gt;&lt;/script&gt;<br>	&lt;title&gt;&lt;/title&gt;<br>&lt;script&gt;<br>function findLi(){<br>&nbsp;$('li[name!="color"]').after("&lt;span&gt;with no color &lt;/span&gt;")<br>} <br>&lt;/script&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;div id = "exerciseTest"&gt;<br>&lt;ul&gt;<br>&lt;li name="color" value="Red"&gt;Sun&lt;/li&gt;<br>&lt;span&gt; Sea&lt;/span&gt;<br>&lt;li value="Cold Fusion"&gt;Sand&lt;/li&gt;<br>&lt;li name="accept" value="Evil Plans"&gt;Hill&lt;/li&gt;<br>&lt;span&gt; Dale&lt;/span&gt;<br>&lt;/ul&gt;<br><br>&lt;button onclick="findLi()" id="button1"&gt;Click to see the effect&lt;/button&gt;<br>&lt;/div&gt;<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:38:05 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837445</guid>
      </item>
      <item>
         <title>Gosia Ex4</title>
         <author>gosiapietron</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837478</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"&gt;&lt;/script&gt;<br>	&lt;title&gt;&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;div&gt;<br>&lt;div&gt;<br>&lt;label&gt;<br>&lt;input type="radio" name="color" value="Red"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>&lt;/div&gt;<br>&lt;div&gt;<br>&lt;label&gt;<br>&lt;input type="radio" name="color" value="Green"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>&lt;/div&gt;<br>&lt;div&gt;<br>&lt;label&gt;<br>&lt;div type="radio" name="color" value="Red"&gt;<br>&lt;span&gt;value?&lt;/span&gt;<br>&lt;div&gt;&lt;/div&gt;<br>&lt;/label&gt;<br>&lt;/div&gt;<br>&lt;button onclick='FindRed()' id="button1"&gt;Click to see the effect&lt;/button&gt;<br>&lt;/div&gt;<br><br><br>&lt;script&gt;<br><br>var FindRed= function(){<br>&nbsp;$('input[value="Red"]').next().html("the value is red")<br>} <br><br><br><br>&lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:38:18 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837478</guid>
      </item>
      <item>
         <title>Gosia Ex5</title>
         <author>gosiapietron</author>
         <link>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837514</link>
         <description><![CDATA[<div>&lt;!DOCTYPE html&gt;<br>&lt;html&gt;<br>&lt;head&gt;<br>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"&gt;&lt;/script&gt;<br>	&lt;title&gt;&lt;/title&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br><br>&lt;body id="exerciseTest"&gt;<br>&lt;div id="tutorial-php"&gt;<br>&lt;p&gt;PHP&lt;/p&gt;<br>&lt;/div&gt;<br>&lt;div id="JAVAtutorial"&gt;<br>&lt;p&gt;Java&lt;/p&gt;<br>&lt;/div&gt;<br>&lt;div id="python-tutorial"&gt;<br>&lt;p&gt;Python&lt;/p&gt;<br>&lt;/div&gt;<br>&lt;button onclick='findbyAttr()' id="button1"&gt;Click to see the effect&lt;/button&gt;<br>&lt;/body&gt;<br><br><br>&lt;script&gt;<br>var findbyAttr= function(){<br>&nbsp;$('div[id$="tutorial"]').css('background-color','yellow')<br>} <br><br><br><br><br>&lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</div>]]></description>
         <enclosure url="" />
         <pubDate>2017-06-01 15:38:31 UTC</pubDate>
         <guid>https://padlet.com/BarcelonaCodeSchool/snzcilq6ifwe/wish/174837514</guid>
      </item>
   </channel>
</rss>
