Home Science & Technology 12 Paper STEM Activities! | Science Buddies Blog

12 Paper STEM Activities! | Science Buddies Blog

68
0


Looking for last-minute STEM ideas for the end of the year, for after testing, for a classroom warmup, or for a rainy day at home? Try these paper-based STEM activities!

Science Activities that Use Paper!

Doing science and engineering activities doesn’t have to require lots of materials. If you are looking for something to do with students in the classroom or with kids at home, an engaging STEM learning experience might be just a stack of paper away!

12 Free STEM Activities Kids Can Do with Paper

  1. 1. Paper Pinwheels

    Find the Best Pinwheel Design: Explore different models of paper pinwheels to see how they each spin in wind. Which design works best?

  2. 2. Paper Roller Coasters

    Build a Paper Roller Coaster: Design and build model roller coasters from paper. Kids will find that potential energy, kinetic energy, and friction all play a role in designing a roller coaster that a marble can successfully run start to finish. What’s the secret to adding loops? (Educators! NGSS-aligned lesson plan available.)

  3. 3. Paper Kites

    How Tails Help a Kite to Fly: Kites are excellent for paper-based science. Kids can experiment to see what shapes, materials, and designs make kites fly best. (Kites for all ages! This family found making kites to be an engaging STEM learning experience for younger and older kids at home.)

  4. 4. Paper Helicopters

    Make a Whirlybird from Paper: These simple paper devices let kids explore how helicopters work on Earth or how they might work on Mars. (More Mars science! Whirlybird STEM is part of our Mars Rover Landing: Space Science & Mars STEM Lessons and Activities collection. An NGSS-aligned Engineer Helicopters for Mars lesson plan is also available.)

  5. 5. Phonebook (or Notepad!) Friction

    Phone Book Friction: If you interleave the pages of two phonebooks, it can be incredibly difficult to pull them apart. With a couple of sticky notepads, kids can do a scaled version of this activity and test their strength against the force of friction.

  6. 6. Flipbook Animation

    Apparent Motion in Flipbooks: Use a stack of index cards (or sturdy paper) to illustrate simple stories that look like they are in motion when you “flip” through them. This is a fun way to tell a story and a fascinating way to explore the connection between flat images and how our brains perceive what we see. (Tip! Try taking a phone video to see if you can capture the animation. How is the flipbook process related to what happens in stop-motion movie making?)

  7. 7. Shadow Puppet Show

    Making Shadow Puppets: Make a set of shadow puppets from cardstock and use them with a flashlight to put on a shadow play and learn about the physics of light and shadow at the same time! (Educators! This exploration is part of our Physics of Light collection. An NGSS-aligned elementary school lesson plan is also available.)

  8. 8. Balance an Art Mobile

    Balance the Forces Within a Mobile: Kids can use paper in a variety of ways to make elements to hang from an art mobile. Whether they paint, color, draw, or something else, they’ll be learning about forces as they balance their cutouts on straws. (Be inspired! The photo shown below is from the mobile of fantastic creatures this student made at home.)

  9. 9. Paper Fish

    Make a Paper Fish Swim with Surface Tension: Use simple paper fish and dish soap for a speedy demonstration of the power of surface tension!

  10. 10. Paper Rockets

    Build a Paper Rocket: These simple rockets are easy to make with paper and tape and get launched by blowing through a straw. What design or material changes make them fly highest or farthest? (Educators! The Paper Rockets to Learn the Scientific Method is a great way to introduce students to the scientific method.)

  11. 11. Paper Towers

    Tallest Paper Tower Challenge: Use paper and taper to build tall paper towers. How tall can they be and still stand? What happens if you add weight to the top? This was the 2021 Fluor Engineering Challenge project. The 2021 Challenge is over, but kids can still build their own tall paper towers and see how tall they can go! If doing this for fun, you may choose to ignore the limits on sheets of paper. To see examples of the kinds of paper towers students built this year, see Thousands of Tall Paper Towers (and Lots of Tape!). (Educators! Lesson plans are available for grades
    3-5,
    6-8,
    and
    9-12.)

  12. 12. Paper Ball Run

    Paper Ball Run Challenge: Use paper and taper to build a paper ball run for a ping pong ball. A cross between a roller coaster and a marble run, the paper ball run invites a wide range of approaches to the shape, size, and design. Can you find ways to “slow down” the path of the ball so that it takes as long as possible to get from start to finish? This was the 2022 Fluor Engineering Challenge project. The 2022 Challenge is over, but kids can still design and build paper ball runs both to explore the construction and to experiment with using science-based strategies to slow the roll. If doing this for fun, you may choose to ignore the limits on sheets of paper. To see examples of the kinds of paper towers students built this year, see Eighth Annual Fluor Challenge a Paper Ball Run Success. (Educators! Lesson plans are available for grades
    3-5,
    6-8, and
    9-12.

You Might Also Enjoy These Related Posts:

');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);
!function
!function(e){var r,t=[],i=!1,a=!1,n={interval:250,force_process:!1},o=e(window);function f(){a=!1;for(var i=0,n=t.length;i=a&&p-(t.data("appear-top-offset")||0)<=a+o.height()&&f+t.width()>=i&&f-(t.data("appear-left-offset")||0)<=i+o.width()},e.fn.extend({appear:function(r){var o=e.extend({},n,r||{}),p=this.selector||this;if(!i){var s=function(){a||(a=!0,setTimeout(f,o.interval))};e(window).scroll(s).resize(s),i=!0}return o.force_process&&setTimeout(f,o.interval),t.push(p),e(p)}}),e.extend({force_appear:function(){return!!i&&(f(),!0)}})}(jQuery); /** * JQuery Idle. * A dead simple jQuery plugin that executes a callback function if the user is idle. * About: Author * Henrique Boaventura (hboaventura@gmail.com). * About: Version * 1.2.7 **/ !function(n){"use strict";n.fn.idle=function(e){var t,i,o={idle:6e4,events:"mousemove keydown mousedown touchstart",onIdle:function(){},onActive:function(){},onHide:function(){},onShow:function(){},keepTracking:!0,startAtIdle:!1,recurIdleCall:!1},c=e.startAtIdle||!1,d=!e.startAtIdle||!0,l=n.extend({},o,e),u=null;return n(this).on("idle:stop",{},function(){n(this).off(l.events),l.keepTracking=!1,t(u,l)}),t=function(n,e){return c&&(c=!1,e.onActive.call()),clearTimeout(n),e.keepTracking?i(e):void 0},i=function(n){var e,t=n.recurIdleCall?setInterval:setTimeout;return e=t(function(){c=!0,n.onIdle.call()},n.idle)},this.each(function(){u=i(l),n(this).on(l.events,function(){u=t(u,l)}),(l.onShow||l.onHide)&&n(document).on("visibilitychange webkitvisibilitychange mozvisibilitychange msvisibilitychange",function(){document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?d&&(d=!1,l.onHide.call()):d||(d=!0,l.onShow.call())})})}}(jQuery); /*! Magnific Popup - v1.0.0 - 2015-01-03 * http://dimsemenov.com/plugins/magnific-popup/ * Copyright (c) 2015 Dmitry Semenov; */ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf("MSIE 7."),b.isIE8=-1!==c.indexOf("MSIE 8."),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith(''):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("

");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("https://www.sciencebuddies.org/blog/%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'

',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("https://www.sciencebuddies.org/blog/%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("https://www.sciencebuddies.org/blog/%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'

',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"https://www.sciencebuddies.org/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/.w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()});
var sb=sb||{};sb.user=sb.user||{};sb.ec=sb.ec||{};sb.classroom=sb.classroom||{};sb.google=sb.google||{};sb.facebook=sb.facebook||{};sb.ui=sb.ui||{};sb.youtube=sb.youtube||{};sb.vimeo=sb.vimeo||{};sb.ads=sb.ads||{};sb.activity=sb.activity||{};sb.isIE=(navigator.appName=="Microsoft Internet Explorer");MutationObserver=window.MutationObserver||window.WebKitMutationObserver;sb.trackException=function(a,b){try{var c=(new Date()).getTime();$.ajax({type:"GET",url:"/track",async:true,timeout:1000,data:{c:"Bug-Exception-"+b,a:a.message,l:a.fileName?a.fileName:a.filename,v:a.lineNumber,u:encodeURIComponent(window.location),t1:sb.time,t2:c}});}catch(a){}};sb.track=function(h,b,a,f,m,g,j){try{if(j===undefined){j=(new Date()).getTime();}if(a==null||a==""||a==undefined){a=f;}var l=window.location.href;if(b=="Iframe"){l=document.referrer.href;a=$.url(document.referrer).attr("host");f=window.location.toString();}if(g===undefined||g==""){g=document.referrer;}var k={};k.category=b;k.action=a;k.label=f;k.value=m;k.referrer=g;k.url=l;k.time1=sb.time;k.time2=j;if(b=="PageView"&&a=="End"){k.activeTime=sb.activity.activeTime;k.idleTime=sb.activity.idleTime;k.activePeriodTime=sb.activity.lastActivePeriodTime;k.idlePeriodTime=sb.activity.lastIdlePeriodTime;k.activePeriods=sb.activity.activePeriods;k.idlePeriods=sb.activity.idlePeriods;}if(b=="PageView"&&a=="End"){try{if(typeof navigator.sendBeacon==="function"){var c=new FormData();c.append("j",JSON.stringify(k));if(navigator.sendBeacon("/track",c)){return;}}}catch(d){}}$.ajax({type:"POST",url:"/track",async:true,timeout:1000,data:{j:JSON.stringify(k)}});if(h&&typeof(ga)!="undefined"){if(b=="Iframe"){ga("send","event",b,$.url(document.referrer).attr("host"),document.referrer,j-sb.time,{nonInteraction:true});}else{ga("send","event",b,a,f,j-sb.time,{nonInteraction:true});}}}catch(d){sb.trackException(d,"Track");}};sb.trackEventValue=function(a){return a.clientX==0?0:1;};sb.trackElement=function(a,d){var c=a.data("track-category");var b=a.data("track-action");var f=a.data("track-label");var g=a.data("track-value");if(g==undefined&&d!=undefined){g=d;}if(c!=undefined){sb.track(false,unescape(c),unescape(b),f,g);}};sb.click=function(a){a=a[0];if(document.createEvent){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",true,true,window,0,0,0,0,0,false,false,false,false,0,null);a.dispatchEvent(b);}else{if(document.createEventObject){var b=document.createEventObject();a.fireEvent("onclick",b);}}};sb.redirect=function(d){$("#updateProgress").addClass("ajax-show");var b=false;var a=d.lastIndexOf("#");if(a>=0){var c=d.substr(0,a);if(parent){if(parent.window.location.pathname==c){b=true;}}else{if(window.location.pathname==c){b=true;}}}if(parent){parent.window.location.href=d;if(b){parent.window.location.reload();}}else{window.location.href=d;if(b){window.location.reload();}}};try{window.addEventListener("message",receiveMessage,false);}catch(e){}function receiveMessage(a){var b=a.origin.split(".");if(b.length<2||b[b.length-1]!="org"||b[b.length-2]!="sciencebuddies"){return;}if(a.data=="magnificPopup.close"){$.magnificPopup.close();}else{if(a.data+0>0){$(".sb-mfp-login iframe").css("width","100%");$(".sb-mfp-login iframe").css("height",(a.data+0)+"px");$(".sb-mfp-login .mfp-iframe-scaler").css("height",(a.data+0)+"px");$(".sb-mfp-join-teacher iframe").css("width","100%");$(".sb-mfp-join-teacher iframe").css("height",(a.data+0)+"px");$(".sb-mfp-join-teacher .mfp-iframe-scaler").css("height",(a.data+0)+"px");$(".sb-mfp-checkout iframe").css("height",(a.data+20)+"px");$(".mfp-close").css("left","initial");}}}sb.pinterest=function(){PinUtils.pinAny();};sb.setActiveStyleSheet=function(c){var b=document.getElementsByTagName("link");for(i=0;i0);sb.hashChangeCallbacks=$.Callbacks();function popupWindow(b,c,a){if(!c){c=720;}if(!a){a=690;}window.open(b,"popupWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+c+",height="+a+",top=70,left=175");}function popupVideo(b,c,a){if(!c){c=720;}if(!a){a=690;}window.open(b,"popupWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width="+c+",height="+a+",top=70,left=175");}function htmlEncode(a){return $("

").text(a).html();}function htmlDecode(a){return $("

").html(a).text();}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^s+|s+$/g,"");};}sb.favorites={};sb.favorites.add=function(a,c,b){$.ajax({type:"GET",url:"/Handlers/User/Favorite.ashx",async:true,data:{type:c,id:b,op:"add"}});$(a).parents(".search-result").first().find(".search-result-add-favorite").hide();$(a).parents(".search-result").first().find(".search-result-remove-favorite").show();$(a).parents(".menu-share").first().children(".add-favorite").hide();$(a).parents(".menu-share").first().children(".remove-favorite").show();};sb.favorites.remove=function(a,c,b){$.ajax({type:"GET",url:"/Handlers/User/Favorite.ashx",async:true,data:{type:c,id:b,op:"remove"}});$(a).parents(".search-result").first().find(".search-result-add-favorite").show();$(a).parents(".search-result").first().find(".search-result-remove-favorite").hide();$(a).parents(".menu-share").first().children(".add-favorite").show();$(a).parents(".menu-share").first().children(".remove-favorite").hide();};sb.favoriteProjectIdea=function(b,c){var a=$(b).hasClass("add-favorite");if(a){$.ajax({type:"GET",url:"/Handlers/User/Favorite.ashx",async:true,data:{type:"ProjectIdea",id:c,op:"add"}});$(b).removeClass("add-favorite");$(b).addClass("remove-favorite");}else{$.ajax({type:"GET",url:"/Handlers/User/Favorite.ashx",async:true,data:{type:"ProjectIdea",id:c,op:"remove"}});$(b).removeClass("remove-favorite");$(b).addClass("add-favorite");}};sb.isScrolledIntoView=function(c){var b=$(window).scrollTop();var a=b+$(window).height();var f=$(c).offset().top;var d=f+$(c).height();return((d>=b&&d<=a)||(f>=b&&f<=a));};sb.scrollMax=0;$(window).scroll(function(){var c=$(window).height();var d=$(window).scrollTop();var a=d+c;var b=$(document).height();percentage=Math.round(100*a/b);if(percentage>sb.scrollMax){sb.scrollMax=percentage;}});sb.getCookie=function(f){f=f+"=";var b=document.cookie.split(";");for(var d=0;d100){$(".scroll-top").fadeIn();}else{$(".scroll-top").fadeOut();}});$(".scroll-top").click(function(){$("html, body").animate({scrollTop:0},600);return false;});$("[data-qtipo]").each(function(){$(this).qtip({content:{text:$(this).attr("data-qtipo"),title:"NEXT GENERATION SCIENCE STANDARDS"},position:{my:"top center",at:"bottom center"},style:{classes:"qtip-orange"},});});$("[data-qtipg]").each(function(){$(this).qtip({content:{text:$(this).attr("data-qtipg"),title:"NEXT GENERATION SCIENCE STANDARDS"},position:{my:"top center",at:"bottom center"},style:{classes:"qtip-green"},});});$("[data-qtipb]").each(function(){$(this).qtip({content:{text:$(this).attr("data-qtipb"),title:"NEXT GENERATION SCIENCE STANDARDS"},position:{my:"top center",at:"bottom center"},style:{classes:"qtip-blue"},});});var b=document.createElement("div");b.style.display="flex";b.style.flexDirection="column";b.style.rowGap="1px";b.appendChild(document.createElement("div"));b.appendChild(document.createElement("div"));document.body.appendChild(b);var c=b.scrollHeight===1;b.parentNode.removeChild(b);if(c){$("body").addClass("flex-box");}else{$("body").addClass("no-flex-box");}});(function(a){jQuery.fn.randomize=function(b){return this.each(function(){var c=a(this);var d=c.children(b);d.sort(function(){return(Math.round(Math.random())-0.5);});c.remove(b);for(var f=0;f"+b+'

',type:"inline"},callbacks:{open:function(d){},afterClose:function(){if(a){a();}}},modal:true,closeBtnInside:true});};sb.ui.askConfirmation=function(a,f,c,d,b){$.magnificPopup.instance.sbConfirm=-1;$.magnificPopup.open({items:{src:'

",type:"inline"},callbacks:{open:function(){$(document).on("keyup.sb",function(g){if(g.keyCode===27){$.magnificPopup.close().close();}});},afterClose:function(){if($.magnificPopup.instance.sbConfirm==0){if(typeof c==="function"){c();}}else{if($.magnificPopup.instance.sbConfirm==1){$(document).off("keyup,sb");if(typeof f==="function"){f();}}}}},modal:true,closeBtnInside:true});};sb.ui.askExternalNavigation=function(d,b,a,c,f){sb.ui.askConfirmation("You are leaving the Science Buddies website to access this resource.",function(){sb.track(true,b,a,c,f);sb.redirect(d);},function(){},"OK","Cancel");};sb.ui.showWorking=function(){$("#ui-working").show();};sb.ui.hideWorking=function(){$("#ui-working").hide();};sb.ui.hideTableRowsWithEmptyCells=function(a){$(a).find("tr:has(td:empty)").hide();$(a).each(function(){if($(this).find("tr").filter(function(){return $(this).css("display")=="none";}).length==$(this).find("tr").length){$(this).parent().parent().hide();}});};sb.ui.googleTranslateInit=function(){var a="";new google.translate.TranslateElement({pageLanguage:"en",layout:google.translate.TranslateElement.InlineLayout.SIMPLE},"google_translate_element");$("#translated-language").bind("DOMSubtreeModified",function(){setTimeout(function(){var b=$("#translated-language").text();if(a!=b){a=b;sb.track(false,"Language","Translate",b);}},500);});};sb.ui.googleTranslateInitCD=function(){var a="";new google.translate.TranslateElement({pageLanguage:"en"},"google_translate_element");$("#translated-language").bind("DOMSubtreeModified",function(){setTimeout(function(){var b=$("#translated-language").text();if(a!=b){a=b;sb.track(false,"Language","Translate",b);}},500);});};sb.browser=sb.browser||{};sb.browser.cacheResource=function(a){window.addEventListener("load",function(){var b=document.createElement("link");b.rel="prefetch";b.href=a;document.getElementsByTagName("head")[0].appendChild(b);});};sb.browser.getScript=function(a){window.addEventListener("load",function(){var b=jQuery.ajaxSetup().cache;jQuery.ajaxSetup({cache:true});jQuery.getScript(a);jQuery.ajaxSetup({cache:b});});};sb.splits=sb.splits||{};sb.splits.variations=sb.splits.variations||{};sb.splits.variation=function(a){if(typeof sb.splits.variations[a.toString()]!="undefined"){return sb.splits.variations[a.toString()];}return -1;};sb.splits.variationCheck=function(c,d,a){if(sb.splits.variation(c)>=0){if(sb.splits.variation(c)==d){a();}return;}try{$.ajax({type:"GET",url:"/Handlers/Splits/Variation.ashx",async:true,timeout:2000,data:{id:c},xhrFields:{withCredentials:true}}).done(function(f){sb.splits.variations[f.id]=f.variation;if(sb.splits.variation(c)==d){a();}});}catch(b){}};sb.splits.step=function(c,d,f,b){try{$.ajax({type:"GET",url:"/Handlers/Splits/Step.ashx",async:true,timeout:2000,data:{id:c,s:d,t:f,f:b},xhrFields:{withCredentials:true}}).done(function(g){sb.splits.variations[g.id]=g.variation;});}catch(a){}};sb.splits.stepFirst=function(b,c,a){if(sb.splits.variation(b)>0){return;}sb.splits.step(b,1,c,a);};sb.actionGraphs=sb.actionGraphs||{};sb.actionGraphs.vertex=function(b,g,c,f){if(JSON){try{var d=[];d[0]={};d[0].graph=b;d[0].vertex=g;if(c){d[0].properties=[];d[0].properties[0]={};d[0].properties[0].name=c;d[0].properties[0].value=f;}if(b>0){$.ajax({type:"POST",url:"/Handlers/ActionGraphs/Vertex.ashx",async:true,timeout:2000,data:{steps:JSON.stringify(d)}});}}catch(a){}}};sb.actionGraphs.vertex2=function(b,f,c,g){if(JSON){try{var d=[];d[0]={};d[0].graph=b;d[0].vertex=f;d[1]={};d[1].graph=c;d[1].vertex=g;$.ajax({type:"POST",url:"/Handlers/ActionGraphs/Vertex.ashx",async:true,timeout:2000,data:{steps:JSON.stringify(d)}});}catch(a){}}};sb.actionGraphs.vertexSession=function(b,c){if(JSON){try{var d=[];d[0]={};d[0].graph=b;if(b>0){$.ajax({type:"POST",url:"/Handlers/ActionGraphs/Vertex.ashx",async:true,timeout:2000,data:{steps:JSON.stringify(d),property:c}});}}catch(a){}}};$(function(){sb.classroom.startTime=(new Date()).getTime();sb.classroom.blurTime=0;sb.classroom.focusTime=0;sb.classroom.inFocus=true;window.onfocus=function(){if(!sb.classroom.inFocus){sb.classroom.blurTime+=(new Date()).getTime()-sb.classroom.startTime;sb.classroom.startTime=(new Date()).getTime();sb.classroom.inFocus=true;}};window.onblur=function(){if(sb.classroom.inFocus){sb.classroom.focusTime+=(new Date()).getTime()-sb.classroom.startTime;sb.classroom.startTime=(new Date()).getTime();sb.classroom.inFocus=false;}};window.focus();});sb.youtube.scriptLoaded=false;sb.youtube.apiLoaded=false;sb.youtube.loadCallbacks=$.Callbacks();sb.youtube.videos=[];window.addEventListener("load",function(a){window.addEventListener("mousemove",sb.youtube.loadScript);window.addEventListener("keyup",sb.youtube.loadScript);window.addEventListener("keydown",sb.youtube.loadScript);window.addEventListener("scroll",sb.youtube.loadScript);window.addEventListener("touchstart",sb.youtube.loadScript,{passive:true});});sb.youtube.loadScript=function(){if(!sb.youtube.scriptLoaded){sb.youtube.scriptLoaded=true;window.removeEventListener("mousemove",sb.youtube.loadScript);window.removeEventListener("keyup",sb.youtube.loadScript);window.removeEventListener("keydown",sb.youtube.loadScript);window.removeEventListener("scroll",sb.youtube.loadScript);window.removeEventListener("touchstart",sb.youtube.loadScript);var b=document.createElement("script");b.src="https://www.youtube.com/iframe_api";var a=document.getElementsByTagName("script")[0];sb.youtube.startLoadTime=(new Date()).getTime();a.parentNode.insertBefore(b,a);setTimeout(function(){if(!sb.youtube.apiLoaded){sb.track(false,"YouTube","API","no",(new Date()).getTime()-sb.youtube.startLoadTime);}},5000);}};sb.youtube.load=function(c,a,g,h,b,d,f){if(!sb.youtube.apiLoaded){sb.youtube.loadCallbacks.add(function(){sb.youtube.createPlayer(c,a,g,h,b,d,f);});}else{sb.youtube.createPlayer(c,a,g,h,b,d,f);}};sb.youtube.onPlayerReady=function(a){sb.youtube.videos.push(a.target);sb.track(false,a.target.sbTrackCategory,"Ready",a.target.sbVideoId,Math.round(100*a.target.getCurrentTime()/a.target.getDuration()));};sb.youtube.onPlayerStateChange=function(a){if(a.data==YT.PlayerState.PLAYING){a.target.sbStartTime=(new Date()).getTime();a.target.sbPlaying=true;sb.track(false,a.target.sbTrackCategory,"Play",a.target.sbVideoId,Math.round(100*a.target.getCurrentTime()/a.target.getDuration()));}else{if(a.data==YT.PlayerState.PAUSED){if(a.target.sbPlaying){a.target.sbTotalTime+=(new Date()).getTime()-a.target.sbStartTime;a.target.sbPlaying=false;}sb.track(false,a.target.sbTrackCategory,"Pause",a.target.sbVideoId,Math.round(100*a.target.getCurrentTime()/a.target.getDuration()));}else{if(a.data==YT.PlayerState.ENDED){if(a.target.sbPlaying){a.target.sbTotalTime+=(new Date()).getTime()-a.target.sbStartTime;a.target.sbPlaying=false;sb.activity.idle();}sb.track(false,a.target.sbTrackCategory,"End",a.target.sbVideoId,Math.round(100*a.target.getCurrentTime()/a.target.getDuration()));}}}};sb.youtube.createPlayer=function(c,a,h,j,b,f,g){if(h=="6jnnZjXs1wc"){var d=new YT.Player(a,{height:b,width:j,videoId:h,playerVars:{rel:0,playlistlistType:"playList",list:"PLApdl7sXvtv6S7eDsr5O8Yl66HR1BiUYj",index:1},events:{onReady:sb.youtube.onPlayerReady,onStateChange:sb.youtube.onPlayerStateChange}});}else{if(f){var d=new YT.Player(a,{height:b,width:j,playerVars:{rel:0,listType:"playlist",list:h},events:{onReady:sb.youtube.onPlayerReady,onStateChange:sb.youtube.onPlayerStateChange}});}else{var d=new YT.Player(a,{height:b,width:j,videoId:h,playerVars:{rel:0},events:{onReady:sb.youtube.onPlayerReady,onStateChange:sb.youtube.onPlayerStateChange}});}}d.sbServiceVideoId=h;d.sbElementId=a;d.sbVideoId=c;d.sbTotalTime=0;d.sbStartTime=0;d.sbPlaying=false;if(g){d.sbTrackCategory=g;}else{d.sbTrakcCategory="Video";}};sb.youtube.stopAllVideos=function(){for(var a=0;a0){sb.track(false,b.sbTrackCategory,"Time",b.sbVideoId,b.sbTotalTime);sb.track(false,b.sbTrackCategory,"Percentage",b.sbVideoId,b.sbTotalTime/b.getDuration()/10);if(b.sbTotalTime<=900000){ga("send","timing",{timingCategory:"Videos",timingVar:"Play",timingValue:b.sbTotalTime,timingLabel:b.sbServiceVideoId});}}}};function onYouTubeIframeAPIReady(){if(!sb.youtube.apiLoaded){sb.youtube.apiLoaded=true;sb.track(false,"YouTube","API","yes",(new Date()).getTime()-sb.youtube.startLoadTime);sb.youtube.loadCallbacks.fire();}}sb.vimeo.videos=[];sb.vimeo.load=function(c,a,g,h,b){var d={id:g,width:h,height:b};var f=new Vimeo.Player(a,d);sb.vimeo.videos.push(f);f.sbServiceVideoId=g;f.sbVideoId=c;f.sbTotalTime=0;f.sbStartTime=0;f.sbPlaying=false;f.on("loaded",sb.vimeo.onLoaded);f.on("play",sb.vimeo.onPlay);f.on("pause",sb.vimeo.onPause);f.on("ended",sb.vimeo.onEnded);};sb.vimeo.onPlay=function(a){this.sbStartTime=(new Date()).getTime();this.sbPlaying=true;sb.track(false,"Video","Play",this.sbVideoId,Math.round(100*a.seconds/a.duration));};sb.vimeo.onPause=function(a){if(this.sbPlaying){this.sbTotalTime+=(new Date()).getTime()-event.target.sbStartTime;this.sbPlaying=false;}sb.track(false,"Video","Pause",this.sbVideoId,Math.round(100*a.seconds/a.duration));};sb.vimeo.onEnded=function(a){if(this.sbPlaying){this.sbTotalTime+=(new Date()).getTime()-this.sbStartTime;this.sbPlaying=false;sb.activity.idle();}sb.track(false,"Video","End",this.sbVideoId,Math.round(100*a.seconds/a.duration));};sb.vimeo.onLoaded=function(a){sb.viemo.videos.push(event.target);sb.track(false,"Video","Ready",this.sbVideoId,0);};sb.vimeo.stopAllVideos=function(){for(var a=0;a0){b.getDuration().then(function(d){sb.track(false,"Video","Time",b.sbVideoId,b.sbTotalTime);sb.track(false,"Video","Percentage",b.sbVideoId,b.sbTotalTime/d/10);if(b.sbTotalTime<=900000){ga("send","timing",{timingCategory:"Videos",timingVar:"Play",timingValue:b.sbTotalTime,timingLabel:b.sbServiceVideoId});}});}});}};sb.ads.track=function(g,f,a,c){try{var h=window.location;if(c===undefined){c="";}var d=(sb.ads.slots[g]===undefined||typeof sb.ads.slots[g]=="string"?0:sb.ads.slotRefreshCounts[sb.ads.slots[g].getAdUnitPath()]);$.ajax({type:"GET",url:"/track",async:true,timeout:1000,data:{t:"Ad",s:g,sv:f,a:a,x:c,rc:d,b:sb.ads.blocked,u:encodeURIComponent(h),t1:sb.time}});}catch(b){sb.trackException(b,"TrackAd");}};sb.ads.passback=function(c,b,a){sb.ads.track(c,b,a,"");};sb.ads.observeDelivery=function(a,d,c){var b=new MutationObserver(function(f,g){f.forEach(function(h){h.addedNodes.forEach(function(j){if(j.nodeType==1&&j.nodeName=="IFRAME"){$(function(){var l=$("#"+a+" iframe").width();l+="|"+$("#"+a+" iframe").height();sb.ads.track(d,c,"Delivered",l);});}var k=$("#"+a+" video source").attr("src");if(j.nodeType==1&&j.nodeName=="VIDEO"&&!k.includes("/vpaid/blank.mp4")){$(function(){sb.ads.track(d,c,"Delivered",k);});}});});});b.observe(document.getElementById(a),{childList:true,subtree:true});};sb.ads.elements=[];sb.ads.slots=[];sb.ads.slotNames={};sb.ads.slotRefreshCounts={};sb.ads.slotViewed={};$(function(){function a(){var g=false;for(var c in sb.ads.elements){var b=$(sb.ads.elements[c]);var f=b.data("min-width");var d=b.data("max-width");if(f===undefined){f=0;}if(d===undefined){d=Number.MAX_SAFE_INTEGER;}if(window.innerWidth>=f&&window.innerWidth<=d){if(b.data("init")!=1){b.data("init",1);$("#"+b.data("id")).attr("id",b.data("unit"));sb.ads.slots[b.data("name")]=b.data("unit");if(b.data("hash-refresh")==1){sb.ads.googleHashRefresh(b.data("name"));}sb.ads.trackAfterLoad(b.data("name"),b.data("service"),"Available");g=true;}b.show();}else{b.hide();}}}a();$(window).resize(function(){a();});});function getSlotName(a){var b=a.split("https://www.sciencebuddies.org/");return b[b.length-1];}sb.ads.refresh=function(){try{pg.google.refreshAllUnits();}catch(a){setTimeout(function(){sb.ads.refresh();},100);}};sb.ads.googleObserveSlots=function(b){for(var a in sb.ads.slots){if(typeof sb.ads.slots[a]=="string"){sb.ads.slotNames[sb.ads.slots[a]]=a;sb.ads.slotRefreshCounts[sb.ads.slots[a]]=0;sb.ads.slotViewed[sb.ads.slots[a]]=false;}else{sb.ads.slotNames[sb.ads.slots[a].getAdUnitPath()]=a;sb.ads.slotRefreshCounts[sb.ads.slots[a].getAdUnitPath()]=0;sb.ads.slotViewed[sb.ads.slots[a].getAdUnitPath()]=false;}}googletag.pubads().addEventListener("slotRequested",function(c){var d=getSlotName(c.slot.getAdUnitPath());if(typeof sb.ads.slotNames[d]=="string"){sb.ads.slots[sb.ads.slotNames[d]]=c.slot;if(sb.ads.slotNames[d].startsWith("Leaderboard")){setTimeout(function(){sb.ads.googleViewed(d);},5000);}}sb.ads.track(sb.ads.slotNames[d],b,"Requested","");});googletag.pubads().addEventListener("slotRenderEnded",function(c){var h=getSlotName(c.slot.getAdUnitPath());if(typeof sb.ads.slotNames[h]=="string"){sb.ads.slots[sb.ads.slotNames[h]]=c.slot;if(sb.ads.slotNames[h].startsWith("Leaderboard")){$(".ad-leaderboard").addClass("ad-stick");}}var f=c.slot.getSlotElementId();var d=$("#"+f+" iframe").width();d+="|"+$("#"+f+" iframe").height();var g=c.slot.getResponseInformation();if(g!=null){d+="|"+g.advertiserId;d+="|"+g.campaignId;d+="|"+g.sourceAgnosticCreativeId;d+="|"+g.sourceAgnosticLineItemId;sb.ads.track(sb.ads.slotNames[h],b,c.slot.isEmpty?"Empty":"Delivered",d);}});googletag.pubads().addEventListener("impressionViewable",function(c){var d=getSlotName(c.slot.getAdUnitPath());setTimeout(function(){sb.ads.googleViewed(d);},1000);sb.ads.track(sb.ads.slotNames[d],b,"Viewed","");});};sb.ads.googleViewed=function(a){if(typeof sb.ads.slotNames[a]=="string"){if(sb.ads.slotNames[a].startsWith("Leaderboard")){$(".ad-leaderboard").removeClass("ad-stick");}}sb.ads.slotViewed[a]=true;};sb.ads.googleHashRefreshCount=0;sb.ads.googleHashRefreshHash=undefined;sb.ads.googleHashRefresh=function(b){sb.hashChangeCallbacks.add(a);function a(c){if(sb.ads.slots[b]!=undefined){if(typeof sb.ads.slots[b]=="string"){if(sb.ads.googleHashRefreshHash!=undefined&&sb.ads.googleHashRefreshHash!=c&&pg!=undefined){pg.google.refreshAllUnits();}sb.ads.googleHashRefreshHash=c;}else{var d=getSlotName(sb.ads.slots[b].getAdUnitPath());if(sb.ads.slotViewed[d]){sb.ads.slotViewed[d]=false;sb.ads.slotRefreshCounts[d]++;googletag.pubads().refresh([sb.ads.slots[b]]);}}}}};sb.ads.trackAfterLoad=function(c,b,a){$(function(){sb.ads.track(c,b,a,"");});};function iframe_test(){}$(function(){$(".audio-player").each(function(){var m=$(this);var k=m.find("audio").first();var l=m.find(".play").first();m.data("audio",k);k.data("player",m);k.on("play",function(){c(m);});k.on("pause",function(){b(m);});k.on("ended",function(){a(m);});m.data("play",l);l.data("player",m);l.click(function(){g(m);});});function g(m){var k=m.data("audio")[0];var l=m.data("play");if(k.paused){f();k.play();}else{k.pause();}}function h(l){var k=l.data("audio")[0];k.pause();k.currentTime=0;}function f(){$(".audio-player").each(function(){$(this).data("audio")[0].pause();});}function d(m){var k=m.data("audio")[0];var l=m.data("play");if(k.paused){l.removeClass("pause");}else{l.addClass("pause");}}function c(k){d(k);j(k,"Play");}function b(k){d(k);j(k,"Pause");}function a(k){j(k,"Ended");}function j(o,k){var m=o.data("track-category");var n=o.data("track-label");var l=o.data("audio")[0];var p=Math.round(100*l.currentTime/l.duration);if(isNaN(p)){p=0;}sb.track(false,m,k,n,p);}});sb.isMobileVersion=false;sb.trackAnchor=function(b,f){try{var j=b.attr("href");if(j==undefined){return;}var k=(j.charAt(0)=="#"||j.charAt(0)=="https://www.sciencebuddies.org/"||j.indexOf("sciencebuddies.org")>=0||j.indexOf("d1ca4yhhe0xc0x.cloudfront.net")>=0);if(k){var m=b.url();var h=m.attr("file").toLowerCase();var g=m.attr("extension").toLowerCase();if(g!=""&&g!="html"&&g!="shtml"&&g!="php"){sb.track(true,"Download",h,j);}else{var c=b.data("track-category");if(c==undefined){c="Internal";}var a=b.data("track-action");if(a==undefined){a=b.text();}var l=b.data("track-label");if(l==undefined){l=j;}var n=b.data("track-value");if(n==undefined){n=f;}sb.track(false,unescape(c),unescape(a),l,n);if(c!="Internal"){sb.track(false,"Internal",unescape(a),l,n);}}}else{if(j.indexOf("http://")==0||j.indexOf("https://")==0){var c=b.data("track-category");if(c==undefined){c="External";}var a=b.data("track-action");if(a==undefined){a=b.text();}var l=b.data("track-label");if(l==undefined){l=j;}sb.track(false,unescape(c),unescape(a),l);if(c!="External"){sb.track(false,"External",unescape(a),l);}}}}catch(d){sb.trackException(d,"TrackAnchor");}};sb.resizeLogIn=function(){var a=document.body.scrollHeight;if(document.getElementById("content")!=null){var a=document.getElementById("content").offsetHeight;}parent.postMessage(a,"*");};sb.resizeLogInSetup=function(){sb.resizeLogIn();onElementHeightChange(document.getElementById("content"),function(){sb.resizeLogIn();});};$(function(){if(typeof(eopdf)=="object"){sb.setActiveStyleSheet("print");$(".show-pdf").removeClass("only-screen");$(".hide-pdf").addClass("only-screen");}sb.time=(new Date()).getTime();sb.track(false,"PageView","Start");if(parent!==window&&!sb.isIE){sb.track(true,"Iframe");}$.fn.hashchange.src="https://www.sciencebuddies.org/document-domain.html";$.fn.hashchange.domain=document.domain;$("a").live("click",function(c){sb.trackAnchor($(this),sb.trackEventValue(c));});$(window).hashchange(function(c){sb.hashChangeCallbacks.fire(location.hash);});$(window).hashchange();$(".email-link").attr("href","/science-fair-projects/email_this.php?filename="+encodeURIComponent(location.pathname+location.search)+"&title="+encodeURIComponent(document.title));$(".print-link").attr("onclick","window.print();return false;");$(".report-link").attr("href","/science-fair-projects/email-somethingwrong.shtml?from="+encodeURIComponent(location.pathname));$(".facebook-link").attr("href","http://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(location));$(".facebook-link").attr("target","_blank");$(".twitter-link").attr("href","http://twitter.com/intent/tweet?text="+encodeURIComponent(document.title)+"&url="+encodeURIComponent(location)+"&via=ScienceBuddies");$(".twitter-link").attr("target","_blank");$(".youtube-link").attr("href","https://www.youtube.com/user/ScienceBuddiesTV/");$(".youtube-link").attr("target","_blank");$(".google-link").attr("href","https://plus.google.com/share?url="+encodeURIComponent(location)+"&"+encodeURIComponent(document.title));$(".google-link").attr("target","_blank");$(".pinterest-link").live("click",function(c){sb.pinterest();return false;});$(".linkedin-link").attr("href","https://www.linkedin.com/sharing/share-offsite/?url="+encodeURIComponent(location));$(".linkedin-link").attr("target","_blank");sb.trackCitation(".citation-mla","MLA");sb.trackCitation(".citation-apa","APA");var b=$.url(location.toString());var a=b.param("rop");if(!(a==undefined)){$(".rop-link").attr("href",function(){return $(this).attr("href")+($(this).attr("href").indexOf("?")<0?"?":"&")+"rop="+a;});}$("table.data > tbody > tr:odd").addClass("odd");$("table.data > tbody > tr:even").addClass("even");$("table.data > tbody > tr:first-child").addClass("first");});sb.inputLimitLength=function(a){a=$(a);var b=a.attr("maxlength");if(a.val().length>b){a.val(a.val().substring(0,b));}else{a.next(".input-limit-length").html((b-a.val().length)+" characters left.");}};$(function(){var b=$("#toc");var f=0;function c(k){var l=k.attr("id");if(l==undefined||l==""){return;}var n=k.attr("data-toc");if(n==undefined||n==""){n=k.text();}var m='

  • '+n+"
  • ";b.append(m);f++;}$("*[data-toc]").each(function(){c($(this));});if(f>1){j();$(".toc").show();$(".toc-tab").css("visibility","visible");}function j(){var l=$(".menu");if(l.length>0){var m=l.offset().top;var k=m+$(".toc").height()+parseInt($(".toc").css("padding-bottom"));var n=$(window).innerHeight();if(k>n){m=m-(k-n);if(m<0){m=0;}k=m+$(".toc").height();}$(".toc").css("top",m+"px");}}var d=$("body").find("*[data-toc][id]");for(var h=0;h0){a.data("tracked",true);}else{a.data("tracked",false);}}function g(){var n=$(document).scrollTop();if(d.length>0){$("#toc li a").removeClass("active");var m=d[0];for(var l=0;lThe image #%curr% could not be loaded.',titleSrc:function(e){return e.el.attr("title")}},callbacks:{close:function(){sb.track(!0,"Galleries",$.magnificPopup.instance.items[$.magnificPopup.instance.index].el.parent().attr("data-track"),"Close")},change:function(){var e=$.magnificPopup.instance.items[$.magnificPopup.instance.index].el.parent().attr("data-track"),a=$.magnificPopup.instance.currItem.src.split("https://www.sciencebuddies.org/"),i=$.magnificPopup.instance.index+1+"https://www.sciencebuddies.org/"+$.magnificPopup.instance.items.length+" "+a[a.length-1];sb.track(!0,"Galleries",e,i,$.magnificPopup.instance.index+1),sb.galleriesCurrent[e]=$.magnificPopup.instance.index}}})})}),sb.galleriesCurrent=[],sb.openGallery=function(e){var a=$("#"+e).attr("data-track");sb.track(!0,"Galleries",a,"Open"),$("#"+e).magnificPopup("open",void 0===sb.galleriesCurrent[a]?0:sb.galleriesCurrent[a])};

    Previous articleSleep deprivation actually changes the way we see other people
    Next article10 лепшых краін у сусветнай рэвалюцыі EV 2021 — частка 1