Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDharmesh Sheth
2,547 PointsError identified
I am getting errors with these code below. Can someone help me to fix this issue
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/terms/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> <head profile="http://www.w3.org/1999/xhtml/vocab"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" href="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/favicon.ico" type="image/vnd.microsoft.icon" /> <link rel="shortlink" href="/node/44" /> <link rel="canonical" href="/student-registration" /> <meta name="Generator" content="Drupal 7 (http://drupal.org)" /> <title>Student Registration | MyPsychLab</title> <style type="text/css" media="all">@import url("http://mypsychlabint.pearsoncmg.com/modules/system/system.base.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/system/system.menus.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/system/system.messages.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/system/system.theme.css?lvl4oi");</style> <style type="text/css" media="all">@import url("http://mypsychlabint.pearsoncmg.com/modules/comment/comment.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/field/theme/field.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/node/node.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/search/search.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/modules/user/user.css?lvl4oi");</style> <style type="text/css" media="all">@import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/style.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/reset.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/master.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/helper.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/prettyPhoto_compressed_3.1.2/css/prettyPhoto.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/additional.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/alternate/blue.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/alternate/green.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/alternate/red.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/css/alternate/purple.css?lvl4oi"); @import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/jquery.treeTable.css?lvl4oi");</style> <style type="text/css" media="print">@import url("http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/print.css?lvl4oi");</style> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/misc/jquery.js?v=1.4.4"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/misc/jquery.once.js?v=1.2"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/misc/drupal.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/jquery-1.4.4.min.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/jquery.treeTable.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/widont.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/prettyPhoto_compressed_3.1.2/js/jquery.prettyPhoto.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/cycle.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/colors.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/data/data.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/product-carousel.js?lvl4oi"></script> <script type="text/javascript" src="http://mypsychlabint.pearsoncmg.com/sites/all/themes/mypsychlabint/assets/js/master.js?lvl4oi"></script> <script type="text/javascript" src="?lvl4oi"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"mypsychlabint","theme_token":"CACa2MHQTCL_mGNycLRJ4MYby8CR1oYpRQ1-hglBkbc","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/jquery-1.4.4.min.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/jquery.treeTable.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/widont.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/prettyPhoto_compressed_3.1.2\/js\/jquery.prettyPhoto.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/cycle.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/colors.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/data\/data.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/product-carousel.js":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/master.js":1,"sites\/all\/themes\/mypsychlabint\/http:\/\/uk.pearson.com\/cookies\/cookiemsg.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/comment\/comment.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/all\/themes\/mypsychlabint\/style.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/reset.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/master.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/helper.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/prettyPhoto_compressed_3.1.2\/css\/prettyPhoto.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/additional.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/alternate\/blue.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/alternate\/green.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/alternate\/red.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/css\/alternate\/purple.css":1,"sites\/all\/themes\/mypsychlabint\/assets\/js\/jquery.treeTable.css":1,"sites\/all\/themes\/mypsychlabint\/http:\/\/uk.pearson.com\/cookies\/cookiemsg.css":1,"sites\/all\/themes\/mypsychlabint\/print.css":1}}}); //--><!]]> </script> </head> <body class="html not-front not-logged-in no-sidebars page-node page-node- page-node-44 node-type-page secondary" > <div id="skip-link"> <a href="#main-content" class="element-invisible element-focusable">Skip to main content</a> </div> <style>label{display:inline !important;}</style> <script type="text/javascript" src="http://www.pearsonhighered.com/mediaproducts/mylab-support-shared-files/assets/js/registration-peg3and5.js"></script> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <!--[if lt IE 9]> <link rel="stylesheet" type="text/css" href="/sites/all/themes/mypsychlabint/assets/css/ie7.css" media="all" /> <![endif]--> <div><a name="top" id="top" class="anchor" target="-1"></a></div> <!-- Begin Pearson strap --> <div class="product-strap group"> <h1 class="product-logo"><a href="/"><img src="/sites/all/themes/mypsychlabint/assets/images/wordmarks/default/wordmark-for-header.png" alt="MyStrategyLab" /></a></h1> <!--<form id="search" method="get" action="results.shtml"> <fieldset> <input type="text" name="query_term" id="query_term" value="Search MyStrategyLab" placeholder="Search MyStrategyLab" title="Search terms" /> <input type="submit" name="query_submit" id="query_submit" value="Search" title="Search" class="clear-text" /> </fieldset> </form>--> </div> <!-- end Pearson strap --> <!-- Begin global nav --> <div class="group" id="global-menubar"> <h2 class="element-invisible">Main menu</h2><ul class="global-nav float-left"><li class="menu-233 first"><a href="/">Home</a></li> <li class="menu-375"><a href="/what-mypsychlab">Learn About</a></li> <li class="menu-385"><a href="/books-available">Books Available</a></li> <li class="menu-386"><a href="/proven-results">Success Stories</a></li> <li class="menu-389"><a href="/faculty-advisor-programme">Community</a></li> <li class="menu-427"><a href="/faculty-training" title="">Tours and Training</a></li> <li class="menu-393"><a href="/student-support">Support</a></li> <li class="menu-410 last"><a href="/contact-us">Contact Us</a></li> </ul> </div> <!-- end global nav --> <!-- Begin main content --> <div class="grid group"> <div class="group" id="wizard"> <h1 class="color-match">Register for MyPsychLab</h1> <form id="registration-form" action=""> <fieldset class="selectCourseID"> <legend>Do you have a Course ID from your instructor?</legend> <p>If not, ask your instructor if he or she will be providing a Course ID.</p> <ul> <li><input type="radio" class="radio" name="has-courseID" id="yes-courseID" value="yes" /><label for="yes-courseID">Yes, I have a Course ID</label></li> <li class="enterCourseID indent mar-top-4px group"> <label for="courseID" class="block mar-top-6px no-padding">Enter the Course ID (including hyphens) provided by your instructor:</label> <input type="text" name="courseID" id="courseID" class="input-text mar-top-3px" autofocus /><button id="courseID-validator">Go <strong>›</strong></button> <p class="note"><strong>Sample Course IDs:</strong><br />XLAB-C2JK-2MNO-0IS1<br />Lastname12345<br />CRSXX11-12345</p> <p class="error-msg hide"></p> </li> <li><input type="radio" class="radio" name="has-courseID" id="no-courseID" value="no" /> <label for="no-courseID">No, my course doesn't require an ID</label></li> </ul> </fieldset> <fieldset class="selectPlatform"> <legend>Select your platform</legend> <p>Ask your instructor which platform he or she is using. If you have an access code card, the platform will also be printed on the front of the card.</p> <p class="red">NOTE: If you are using a <strong>Canadian Edition,</strong> please select MyPsychLab Pegasus.</p> <ul></ul> </fieldset> <fieldset class="selectAccessCode"> <legend>Do you have an access code?</legend> <p>An access code may have been included with your textbook or in a Student Access Card/Kit available from your campus bookstore.</p> <p>Your access code may look like this: <span class="block note">SIMPLE-FRILL-TONLE-WEIRS-CHOIR-FLEES</span></p> <p>If you do not have an access code, you can buy access with a credit card or PayPal account.</p> <ul> <li><input type="radio" class="radio" name="has-access-code" id="yes-access-code" value="reg" /><label for="yes-access-code">Yes, I have an access code</label></li> <li><input type="radio" class="radio" name="has-access-code" id="no-access-code" value="olp" /><label for="no-access-code">No, I need to buy access</label></li> </ul> </fieldset> <fieldset class="selectCourse"> <legend>Select your course</legend> <ul> </ul> </fieldset> <fieldset class="selectBook"> <legend>Select your book</legend> <input type="hidden" name="book" id="book" /> <p>Books are listed alphabetically by the author's last name.</p> <div class="group" id="gallery-view-controls-container"><p class="float-left"><a href="#" id="toggle-grid-view" class="strong">Show all</a></p></div> <!-- Begin product-carousel-container --> <div class="product-carousel-container group"> <!-- Begin 'Previous' and 'Next' controls --> <div class="product-carousel-previous-container"> <img class="product-gallery-previous" src="../assets/images/global/carousel-previous.png" alt="Previous set of product(s)" /> </div><!-- End 'Previous' (left arrow) control --> <!-- Begin product-carousel --> <ul class="product-carousel"> </ul><!-- End product-carousel --> <div class="product-carousel-next-container"> <img class="product-gallery-next" src="../assets/images/global/carousel-next.png" alt="Next set of product(s)" /> </div><!-- End 'Next' (right arrow) control --> </div><!-- End product-carousel-container --> <p id="book-chosen"></p> </fieldset> <fieldset class="includesEtext"> <legend>Does your access code say it includes an eText?</legend> <p>If your access code contains an eText it will say <q lang="en-us">“with E-Book”</q> or "with eText" on the front of the card.</p> <ul> <li><input type="radio" class="radio" name="includes-eText" id="yes-code-with-eText" value="yes" /><label for="yes-code-with-eText">Yes</label></li> <li><input type="radio" class="radio" name="includes-eText" id="no-code-with-eText" value="no" /><label for="no-code-with-eText">No</label></li> </ul> </fieldset> <fieldset class="wantEtext"> <legend>This MyLab contains an eText.</legend> <p><strong class="block color-match">What is an eText?</strong>An eText is an online version of your textbook. After you purchase access to the eText, you will be able to open it directly from within the MyPsychLab website. eText access lasts until your subscription to the website expires.</p> <p><strong class="block color-match">Why buy an eText?</strong>Your eText is available bundled with MyPsychLab at a reduced cost. (Actual price will be shown before purchase.)</p> <ul> <li><input type="radio" class="radio" name="wants-eText" id="yes-want-eText" value="yes" checked="checked" /><label for="yes-want-eText">OK</label></li> <li><input type="radio" class="radio" name="wants-eText" id="no-want-eText" value="no" /><label for="no-want-eText">I would like to buy it without the eText</label></li> </ul> </fieldset> <div class="rule-solid mar-top-12px mar-bot-12px"></div> <button id="previous-screen"><strong>‹</strong> Previous</button> <button id="next-screen">Next <strong>›</strong></button> </form> </div><!-- End #wizard --> <div class="registration-sidebar"></div> </div> </div> <!-- end main content --> <!-- begin Pearson footer strap --> <div class="color-strap group"> <span id="always-learning" class="clear-text">Always Learning</span> <a id="pearson-logo" href="/" class="clear-text">Pearson</a> </div><!-- end Pearson footer strap --> <div id="footer" class="clear-both group"> <p><span id="current-year-footer"></span> Pearson Education Inc. All Rights Reserved <a href="http://www.pearsoned.co.uk/">Pearson Higher Education</a> | <a href="http://www.pearsoned.co.uk/Legalnotice">Legal Notice</a> | <a href="http://www.pearsoned.co.uk/Privacynotice">Privacy Statement</a> | <a href="http://www.pearsoned.co.uk/RightsPermissions/Permissions">Permission Requests</a> | <a href="/contact-us">Contact Us</a></p> </div> <script> $(document).ready(function() { $(".has-submenu ul").each(function(){ $(this).removeClass('side-nav'); }); }); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-23248895-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body>
</html>
1 Answer
Patrick Gerrits
14,614 PointsLol! Can you please give us a more formated piece of the code? This is unreadable. Besides that mayube you should contact te vendor that supplies this code?