/**/ ;(function(){ "use strict"; var Quizgnome = { isReady: false, onLoad: function() {}, onResize: function() {}, onFinish: function() {} }; function getResource(type, url, objName, cb) { if (objName && typeof window[objName] !== "undefined") { cb(); return; } cb = cb || function() {}; var sel = document.createElement(type); sel.addEventListener('load', cb); sel.async = true; sel.src = url; if (type==='link') { sel.rel = "stylesheet"; } sel.href = url; document.body.appendChild(sel); } /* GTM */ (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-5MHJZD'); var template = ''+ ''+ '
'+ '
'+ '
'+ ' '+ '
'+ ' Despite the range of investment-based savings options available today, less than half of Americans own any stocks or stock-based investments like mutual funds. Most say it's because they don't have the money or know enough about investments to get started. To see how you compare, take this quick quiz.'+ '
'+ ' '+ '
'+ '
'+ '

What Do You Really Know About Investing?

'+ '

Despite the range of investment-based savings options available today, less than half of Americans own any stocks or stock-based investments like mutual funds. Most say it\'s because they don\'t have the money or know enough about investments to get started. To see how you compare, take this quick quiz.

'+ '
'+ '
'+ ' '+ '
'+ '
'+ '
'+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ ' '+ '
'+ '
'; var container = ''; if (!container) { /* Container is not specify, use current script tag */ var scriptContainer; if (document.currentScript) { scriptContainer = document.currentScript; } else { var scripts = document.getElementsByTagName('script'); scriptContainer = scripts[scripts.length - 1]; } container = scriptContainer.parentNode; } else { if (document.querySelector) { container = document.querySelector(container) || document.querySelector('#' + container); } else { container = document.getElementsById(container); } } function addEvent(element, eventName, fn) { if (element.addEventListener){ element.addEventListener(eventName, fn, false); } else if (element.attachEvent){ element.attachEvent('on' + eventName, fn); } } getResource('link', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css'); getResource('link', '//www.quizgnome.com/css/quiz-alone.css?v=20180213163702177981'); getResource('script', '//code.jquery.com/jquery-1.12.2.min.js', 'jQuery', function(){ jQuery(container).html(template);;(function($){ $(function(){ var oldHeight = null; var quiz = {"conclusions": [{"mediaurltype": "text", "mediaurl": "https://www.quicken.com/personal-finance/quicken-deluxe-2017", "image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/9f6433da-f2d5-4941-a3af-7c6660ae656f.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/9f6433da-f2d5-4941-a3af-7c6660ae656f.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}, "content": "Investing Expert\n\nLook out Warren Buffett! When it comes to investing, you really know your stuff. If you want to get a better edge on your investment portfolio, check out the new features available with [Quicken Deluxe 2017](https://www.quicken.com/personal-finance/quicken-deluxe-2017) and the [Quicken mobile app](https://www.quicken.com/content/stay-connected-your-money), which allow you to track your investments anywhere, at any time.", "pointsrange": {"max": "8", "min": "7"}, "mediaurlanchortext": "Quicken Deluxe 2017"}, {"mediaurltype": "text", "mediaurl": "https://www.quicken.com/personal-finance/quicken-starter-edition-2017", "image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/ebd51608-cb84-4c1d-a470-b42fbada0b26.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/ebd51608-cb84-4c1d-a470-b42fbada0b26.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}, "content": "Okay, maybe you don't work on Wall Street, but you know the basics of investing and money management. To keep on track, take a look at the investment options available in Quicken Starter Edition and the [Quicken mobile app](https://www.quicken.com/content/stay-connected-your-money).", "pointsrange": {"max": "6", "min": "4"}, "mediaurlanchortext": "Quicken Starter Edition"}, {"mediaurltype": "text", "mediaurl": "https://www.quicken.com/personal-finance/quicken-starter-edition-2017", "image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/952d9d8f-6533-4d82-a41d-f16007460267.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/952d9d8f-6533-4d82-a41d-f16007460267.jpg", "height": "1414", "width": "2120", "attributionhtml": "Getty Images", "validated_image": true}, "content": "Beginning Investor\n\nIf you haven't invested much yet, consider reviewing your finances to find additional funds that you can redirect to your nest egg. The budget options in [Quicken Starter Edition](https://www.quicken.com/personal-finance/quicken-starter-edition-2017) can help.", "pointsrange": {"max": "3", "min": "0"}, "mediaurlanchortext": "Quicken Starter Edition"}], "overview": {"content": "Despite the range of investment-based savings options available today, less than half of Americans own any stocks or stock-based investments like mutual funds. Most say it's because they don't have the money or know enough about investments to get started. To see how you compare, take this quick quiz.", "image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/88d90f0a-8b76-4240-b39f-45ae66ae12a9.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/88d90f0a-8b76-4240-b39f-45ae66ae12a9.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}}, "total_score": 8, "title": "What Do You Really Know About Investing?", "questions": [{"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/88d90f0a-8b76-4240-b39f-45ae66ae12a9.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/88d90f0a-8b76-4240-b39f-45ae66ae12a9.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "While paying off high-interest debt is important, it's never too early to start investing in your future. Most experts agree that you should pay yourself first at the beginning of each pay cycle by putting a percentage of your income aside for emergencies even as you pay off debt.", "answers": [{"content": "As soon as your income rises above your current financial needs.", "points": "0", "correct": "False"}, {"content": "As soon as your debts are paid off.", "points": "0", "correct": "False"}, {"content": "Anyone with an income should start investing as soon as possible.", "points": "1", "correct": "True"}], "title": "When is the ideal time to start saving for your future?"}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/aaaa8642-49c7-4f46-8ad3-c13e8f95c0f0.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/aaaa8642-49c7-4f46-8ad3-c13e8f95c0f0.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "The size of your emergency fund is a personal decision, but most experts recommend having between three to six months' income set aside where it is easily accessible.", "answers": [{"content": "One month's income.", "points": "0", "correct": "False"}, {"content": "At least $20,000, regardless of your income.", "points": "0", "correct": "False"}, {"content": "Three to six months' income.", "points": "1", "correct": "True"}], "title": "How much money should you have in an accessible emergency fund before locking up funds in long-term investments?"}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/4a0d13df-e577-46ae-8e46-8e05b41a5e4a.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/4a0d13df-e577-46ae-8e46-8e05b41a5e4a.jpg", "height": "2067", "width": "3100", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "While the FDIC insures most bank deposit accounts, it does not insure mutual funds, stocks or bonds.", "answers": [{"content": "True", "points": "0", "correct": "False"}, {"content": "False", "points": "1", "correct": "True"}], "title": "True or False? Most mutual funds issued by banks are insured by the Federal Deposit Insurance Company (FDIC)."}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/4be5ce0b-8666-4740-897e-aedf42d6ccd8.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/4be5ce0b-8666-4740-897e-aedf42d6ccd8.jpg", "height": "1498", "width": "2001", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "Thanks to compound interest, your investment would more than double to $55,380.45 after 20 years. If you continued investing $100 every month with the same average rate of return of 8 percent, you would have $313,040.27 after 40 years.", "answers": [{"content": "$24,331.39", "points": "0", "correct": "False"}, {"content": "34,722.12", "points": "0", "correct": "False"}, {"content": "$55,380.45", "points": "1", "correct": "True"}], "title": "If you invest $100 every month with an average annual return of 8 percent, how much will you have accumulated after 20 years?"}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/c8040e31-3115-4a04-b959-bf6ba5884c08.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/c8040e31-3115-4a04-b959-bf6ba5884c08.jpg", "height": "1415", "width": "2120", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "While younger investors do have more time to wait out lows in the stock market, they are not immune to job losses and other emergencies that may require fast access to cash. Most experts recommend a balance between low-risk and high-growth investments, regardless of your age bracket.", "answers": [{"content": "True", "points": "0", "correct": "False"}, {"content": "False", "points": "1", "correct": "True"}], "title": "True or false? Because they usually present risk only in the short term, high-yield stocks and growth-oriented mutual funds are the ideal investment for anyone under 40."}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/7255fc66-1ed3-430a-9375-48f9664bfae5.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/7255fc66-1ed3-430a-9375-48f9664bfae5.jpg", "height": "3554", "width": "4740", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "Because it's impossible to guess what the market will do tomorrow, many experts recommend a strategy called dollar-cost averaging. This method involves regularly investing the same amount over time to ride out the highs and lows of the market, rather than trying to guess when the market has reached its lowest point.", "answers": [{"content": "True", "points": "0", "correct": "False"}, {"content": "False", "points": "1", "correct": "True"}], "title": "True or False? To make the most of your investments, it's best to wait until the market is low before investing."}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/9fb71719-34b2-46a0-8287-fbcf22738e3a.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/9fb71719-34b2-46a0-8287-fbcf22738e3a.jpg", "height": "1412", "width": "2123", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "Even if you do have a company stock option plan or you know the company intimately, it's usually best to diversify your investments. If your employer does poorly, both your job and your investment may be in jeopardy.", "answers": [{"content": "True", "points": "1", "correct": "True"}, {"content": "False", "points": "0", "correct": "False"}], "title": "True or False? Even if you have a stock option plan from your employer, it's still best to diversify your investments."}, {"image": {"thumburl": "http://photos2.demandstudios.com/DM-Resize/s3.amazonaws.com/photography.prod.demandstudios.com/2317bc75-4e77-4195-a8dc-e0e26b02aac2.jpg?w=120&h=120&keep_ratio=1", "credit": "Getty Images", "url": "http://s3.amazonaws.com/photography.prod.demandstudios.com/2317bc75-4e77-4195-a8dc-e0e26b02aac2.jpg", "height": "1414", "width": "2121", "attributionhtml": "Getty Images", "validated_image": true}, "explanation": "It's always important to know how your investments are doing and whether or not they are keeping you on target for your financial goals.", "answers": [{"content": "True", "points": "0", "correct": "False"}, {"content": "False", "points": "1", "correct": "True"}], "title": "True or False? When you buy stocks for the long term, you don’t have to worry about them until you approach retirement."}], "type": "SpectrumQuiz"}; var categoryScore = {}; var correct = 0; var $container; if (typeof container !== 'undefined') { $container = $(container); } else { $container = $('.quiz-container'); } function isInIframe() { try { return window.self !== window.top; } catch (e) { return true; } } function postMessage(data) { /* Append verification data */ data.id = 'www.quizgnome.com/really-investing-1018.html'; var target = window.top; target.postMessage(data, '*'); } /* Process quiz page to detect answers with image */ $('.quiz-page.question', $container).each(function() { var $page = $(this); var $imgs = $('.answers .answer img', $page); if ($imgs.length > 0) { $page.addClass('has-image-answer'); $imgs.each(function() { var $img = $(this); var src = $img.attr('src'); var $label = $img.parents('label'); $img.hide(); $label.css('background-image', 'url('+src+')'); if ($label.text().trim() === '') { $label.children('p').text($img.attr('alt')); } }); } }); postMessage({ type: 'load', quiz: quiz }); function handleResize() { var height = $('body, html').outerHeight(true) + 20; if (height != oldHeight) { postMessage({ type: 'resize', height: height }); oldHeight = height; } } $(window).on('resize', handleResize); setInterval(function(){ handleResize(); }, 500); $('button.action', $container).click(function(){ var id = $(this).data('qid'); $('.quiz-page', $container).hide(); $('.quiz-page.page-' + (++id), $container).show(); // Scroll to top of next question if (isInIframe()) { postMessage({ type: 'next', page: id }); } else { var $page = $('.quiz-pages', $container); if ($page.length > 0) { $('html, body').animate({ scrollTop: $page.offset().top }, 1000); } } $('.quiz-progress', $container).removeAttr('style'); $('.progressbar .step', $container).each(function(){ if ($(this).data('step') <= id) { $(this).addClass('active'); } else { $(this).removeClass('active'); } }); $('.quiz-content .action', $container).hide(); if ($(this).hasClass('rewind')) { categoryScore = {}; correct = 0; $('.quiz-content .answer', $container).removeClass('incorrect correct'); $('.quiz-content .answers', $container).removeData('disabled').removeClass('disabled'); $('.quiz-content .action', $container).hide(); $('.quiz-content .explaination', $container).hide(); $('.quiz-content .sub-explaination', $container).hide(); $('.correct-incorrect', $container).html(''); } if ($(this).hasClass('finish')) { $('.conclusions .conclusion', $container).hide(); $('.conclusions .conclusion .action', $container).show(); if (quiz.type === 'CategoryQuiz') { /* Calculate max category */ var maxScore = 0; var maxKey; for (var key in categoryScore) { if (categoryScore[key] > maxScore) { maxScore = categoryScore[key]; maxKey = key; } } $('.conclusions .conclusion[data-key="'+maxKey+'"]', $container).show(); } else { /* Show conclusion based on score */ $('.conclusions .conclusion', $container).each(function(){ if ($(this).data('min') <= correct && $(this).data('max') >= correct ) { $(this).show(); } }); $('.conclusion .score', $container).text(Math.round(correct / quiz.total_score * 100) + '%'); } } }); function isCorrect(answer) { var qid = $(answer).data('qid') - 1; var aid = $(answer).data('aid'); return (quiz.questions[qid] && quiz.questions[qid].answers[aid] && quiz.questions[qid].answers[aid].correct === 'True'); } $('.quiz-content .answer', $container).click(function(){ var $answersContainer = $(this).parent(); if ($answersContainer.data('disabled') || $answersContainer.hasClass('disabled')) { return; } $(this).addClass('selected'); var qid = $(this).data('qid') - 1; var aid = $(this).data('aid'); if (isCorrect($(this))) { $(this).addClass('correct'); if (quiz.type === 'CategoryQuiz') { for (var key in quiz.questions[qid].answers[aid].conclusions) { categoryScore[key] = (categoryScore[key] || 0) + parseInt(quiz.questions[qid].answers[aid].conclusions[key]); } } else { /* Add correct score. */ correct += parseInt(quiz.questions[qid].answers[aid].points); } $('.correct-incorrect', $answersContainer).html('Correct !'); } else { $(this).addClass('incorrect'); /* Find the correct one */ $(this).siblings().each(function(){ if (isCorrect($(this))) { $(this).addClass('correct'); } }); $('.correct-incorrect', $answersContainer).html('Incorrect !'); } $(this).parent('.answers').data('disabled', true).addClass('disabled'); var question = $(this).parent().parent(); $('.action', question).show(); $('.explaination', question).show(); $('.sub-explanation', question).hide(); $('.explaination .answer-' + aid, question).show(); }); }); })(jQuery);}); window.Quizgnome = Quizgnome; })(); /* if this part get executed that mean someone open the url directly. */ /* */