[ad_1]
Plan ahead to bring exciting science and engineering to your students all year long. Our STEM Calendar offers a roadmap for finding teaching materials and hands-on experiments to match with seasonal and calendar events throughout the year.
STEM Calendar — A Roadmap of Monthly Science and Engineering Connections for Events and Popular Themes
We know educators often plan weeks or even months in advance for hands-on STEM experiments and activities. To make it easier to keep the big picture of the next few months (or the semester) in mind, we’ve created this STEM Calendar to highlight science and engineering tie-ins for thematic and seasonal content.
We highlight science and engineering activities and resources, special events, and pop culture and holiday tie-ins individually throughout the year, but we hope this centralized STEM Calendar makes it easier to find the resources you need to create exciting STEM learning opportunities for your students.
There are many STEM-focused “days” and “weeks” and lots of other observances on the calendar. We’ve curated our STEM Calendar to include some of the most established connections, holidays, and tie-ins, especially ones for which we have in-depth resources to help support science and engineering in the classroom.
STEM Calendar—Month by Month
January
New Year’s Day (January 1)
➤ Make Some New Year’s Noise with Science Activities!
Fluor Engineering Challenge (Revealed)
➤ 2022 Fluor Challenge
Winter Science (Seasonal)
➤ Winter Science Lessons and Activities
February
Black History Month
➤ Learn More About these 32 Scientists for Black History Month
Lunar New Year (Feb 1)
➤ 12 STEM Experiments for Lunar New Year
Winter Olympics (next 2026)
➤ Winter Olympics Science Experiments
Super Bowl (Feb 12 2023)
➤ 4 Football Science Projects for Super Bowl-Sized Learning
Valentine’s Day (Feb 14)
➤ Free Valentine’s Day STEM Activities
March
Women’s History Month & International Women’s Day (Mar 8)
➤ Women’s History Month: 50+ Women in Science and Engineering to Learn More About
Mario Day (Mar 10)
➤ Mario Day Activities — Bring Mario World to Life with Hands-on STEM!
March Madness (Mar 13-Apr 4)
➤ March Madness Basketball Science Experiments
Pi Day (Mar 14)
➤ Circular Reasoning: Finding Pi
St. Patrick’s Day (Mar 17)
➤ 6 STEM Activities for St. Patrick’s Day
Spring Science (Seasonal)
➤ 22 Science Experiments for Spring
Last day to enter the Fluor Engineering Challenge (Mar 20 2022)
➤ 2022 Fluor Challenge
World Water Day (Mar 22)
➤ 11 Activities to Teach Water Cycle Science
Junior Solar Sprint (Variable)
➤ Solar-Powered Cars for Junior Solar Sprints
April
Weather (Seasonal)
➤ 16 Science Lessons About Weather
Plant Science (Seasonal)
➤ 10+ Activities and Lessons to Teach Plant Science
Spring Science (Seasonal)
➤ 22 Science Experiments for Spring
Robotics Week (Apr 1-8 2023)
➤ Teach About Robotics with Free STEM Lessons & Activities
➤ 20 Tips for Doing Robotics with Kids
Easter (Apr 9 2023)
➤ 5 STEM Activities with Marshmallow Peeps
➤ Egg Science for K-12 Students
Earth Day (Apr 22)
➤ Earth Day Science Activities
➤ Teach About Biodiversity with Free STEM Lessons & Activities
DNA Day (Apr 25)
➤ Student Science for DNA Day
➤ Teach About Genetics and Heredity with Free STEM Lessons & Activities
Junior Solar Sprint (Variable dates)
➤ Solar-Powered Cars for Junior Solar Sprints
May
Asian American and Native Hawaiian/Pacific Islander Heritage Month
➤ Inspiring Scientists and Engineers to Know – Asian American and Native Hawaiian/Pacific Islander Heritage Month
Harry Potter Day (May 2)
➤ Wizard Experiments for Science Class
➤ Wizardly STEM! (Awesome Summer Science Experiments)
May the 4th Be with You (Star Wars Day) (May 4)
➤ Star Wars STEM Activities for May the 4th Be With You Science
Mother’s Day (May 8)
➤ 18 Science Activities for Mother’s Day
International Day of Light (May 16)
➤ 16 Science Lessons About Visible Light
Fun STEM projects for the end of the year, like hovercraft from balloons and discs
June
Summer Science (Seasonal)
➤ Make Believe STEM
➤ Awesome Summer Science Experiments (2021 series)
➤ Summer of STEM (2020 series)
World Oceans Day (Jun 8)
➤ Ocean Science Projects
➤ Oceanic Circulation: What Keeps the Ocean in Motion?
Father’s Day (Jun 19)
➤ 15 Science Activities to Make and Give for Father’s Day
Asteroid Day (Jun 30)
➤ Asteroid Mining: Gold Rush in Space?
➤ NASA Asteroid Database: What Can You Learn About Our Solar System?
July
National Ice Cream Month and National Ice Cream Day (Jul 18)
➤ Make Ice Cream in a Bag
➤ Making Ice Cream at Home
Clean Beaches Week (Jul 1-7)
➤ Beaches and Sand Science Experiments
Alice in Wonderland Day (Jul 4)
➤ Distorted Images in Curved Mirrors
Anniversary of Apollo Moon Landing (Jul 20)
➤ Explore Crater Science to Celebrate Moon Landing Anniversary
August
Sandcastle Day (Aug 6)
➤ Beaches and Sand Science Experiments
National Aviation Day (Aug 18)
➤ Defining an Engineering Design Problem with Paper Airplanes
➤ Paper Airplanes: Why Flaps and Folds Matter
September
Fall science (Seasonal)
➤ 19 Fall Science Activities for Autumn Fun
National Biodiversity Month (September)
➤ Teach About Biodiversity with Free STEM Lessons & Activities
Roald Dahl Day (Sept 13)
➤ Willy Wonka Science and Make-Believe STEM
National Hispanic Heritage Month (Sept 15-Oct 15)
➤ Hispanic Scientists and Engineers
Talk Like a Pirate Day (Sept 19)
➤ Pirate Science and Make-Believe STEM
October
National Disability Employment Awareness Month (Oct)
➤ STEM is for Everyone: Scientists with Disabilities
World Architecture Day (Oct 3)
➤ Paper Tower
➤ Build a Gumdrop Geodesic Dome
Earth Science Week (Oct 9-15)
➤ Earth Day Science Activities
➤ Geology resources
National Hispanic Heritage Month (Sept 15-Oct 15)
➤ Hispanic Scientists and Engineers
National Health Education Week (Oct 17-21)
➤ Healthy Living Experiments
Halloween (Oct 31)
➤ 20 Halloween Science Experiments!
November
Native American Heritage Month
➤ Native American Scientists and Engineers
National Diabetes Awareness Month and World Diabetes Day (Nov 14)
➤ Fostering Diabetes Awareness through Student STEM
Makerspace (Seasonal)
➤ 22 Projects to Jump-start Your Makerspace
Kits to Give (Seasonal)
➤ 13 STEM Gifts You’ll Feel Good about Giving
December
Computer Science Education Week (CSEdWeek) and Hour of Code (Dec 5-11)
➤ 20+ Coding Activities for Beginners and Beyond
Gingerbread STEM (Seasonal)
➤ Gingerbread STEM!
Kits to Give (Seasonal)
➤ 13 STEM Gifts You’ll Feel Good about Giving
Winter Science (Seasonal)
➤ Winter Science Lessons and Activities
New Year’s Eve (Dec 31)
➤ Make Some New Year’s Noise with Science Activities!
Additional Resources and Thematic Collections
For other collections developed to help teachers connect STEM learning and calendar events and themes, see the Teaching Science Units and Thematic Collections lists. We encourage you to browse the complete STEM Activities for Kids and Lesson Plans areas, too. Filters are available to help you narrow your search.
You Might Also Enjoy These Related Posts:
');u.close();q.location.hash=v}}})();return j})()})(jQuery,this);
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t,r){var a={a:"href",img:"src",form:"action",base:"href",script:"src",iframe:"src",link:"href"},e=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","fragment"],n={anchor:"fragment"},o={strict:/^(?:([^:/?#]+):)?(?://((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(d*))?))?((((?:[^?#/]*/)*)([^?#]*))(?:?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+):)?(?://)?((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(d*))?)(((/(?:[^?#](?![^?#/]*.[^?#/.]+(?:[?#]|$)))*/?)?([^?#/]*))(?:?([^#]*))?(?:#(.*))?)/},i=/(?:^|&|;)([^&=;]*)=?([^&;]*)/g,s=/(?:^|&|;)([^&=;]*)=?([^&;]*)/g;function f(t,r){for(var a=t,n=o[r?"strict":"loose"].exec(a),f={attr:{},param:{},seg:{}},u=14;u--;)f.attr[e[u]]=n[u]||"";f.attr.extension="";var c=f.attr.file.lastIndexOf(".");return c>=0&&(f.attr.extension=f.attr.file.substr(c+1)),f.param.query={},f.param.fragment={},f.attr.query.replace(i,function(t,r,a){r&&(f.param.query[r]=decodeURIComponent(a.replace(/+/g," ")))}),f.attr.fragment.replace(s,function(t,r,a){r&&(f.param.fragment[r]=decodeURIComponent(a.replace(/+/g," ")))}),f.seg.path=f.attr.path.replace(/^/+|/+$/g,"").split("https://www.sciencebuddies.org/"),f.seg.fragment=f.attr.fragment.replace(/^/+|/+$/g,"").split("https://www.sciencebuddies.org/"),f.attr.base=f.attr.host?(f.attr.protocol?f.attr.protocol+"://"+f.attr.host:f.attr.host)+(f.attr.port?":"+f.attr.port:""):"",f}t.fn.url=function(e){var n,o,i="";return this.length&&(i=t(this).attr((n=this[0],(o=n.tagName)!==r?a[o.toLowerCase()]:o))||""),t.url(i,e)},t.url=function(t,a){return 1===arguments.length&&!0===t&&(a=!0,t=r),a=a||!1,{data:f(t=t||window.location.toString(),a),attr:function(t){return(t=n[t]||t)!==r?this.data.attr[t]:this.data.attr},param:function(t){return t!==r?this.data.param.query[t]:this.data.param.query},fparam:function(t){return t!==r?this.data.param.fragment[t]:this.data.param.fragment},segment:function(t){return t===r?this.data.seg.path:(t=t<0?this.data.seg.path.length+t:t-1,this.data.seg.path[t])},fsegment:function(t){return t===r?this.data.seg.fragment:(t=t<0?this.data.seg.fragment.length+t:t-1,this.data.seg.fragment[t])}}},t.url_encodeQueryString=function(t){return encodeURIComponent(t).replace(/%20/g,"+")}});
!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
',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;i
',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;a
";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;h
[ad_2]
Source link