GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/JimMartinson/CST1021/Labs/Lab06/ |
Upload File : |
<? // JimMartinson/CST1021/Labs/Lab06/Lab06.phpinc $css .= ',colorCode.css'; require('Gradebook/EvaluationSubmission_BEGIN.phpinc'); // Replaced. $disabled = ''; $disabled = ' disabled'; // Comment this line to enable lab. #require('JimMartinson/DisableLab.phpinc'); require('common/Browser/Browser.phpinc'); ?> <fieldset><legend>Description</legend> The purpose of this lab is to demonstrate your ability to use css to style text. <?=$gradeNote?> <? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <fieldset><legend><?=$evaluationType?> Instruction</legend> <ol id="main" class="count"> <li>Create a folder for this <?=strtolower($evaluationType)?> named <b class="copyText"><?=$evaluationName?></b> and keep all documents used for <?=$evaluationType?> <?=$evaluationNumber?> in that folder. <li class="css">Create an external style sheet named <b class="copyText"><?=$evaluationName?>.css</b>. <ol> <li>At the top of the style sheet, set the character set with: <tag class="copyText">@charset <valq>utf-8</valq>;</tag></li> <li>Add this comment: <comment class="copyText">/* <?=$evaluationType?> <?=$evaluationNumber?> External Style Sheet - <?=$userFullName?> */</comment></li> <li>Add the folowing styles (in the order below): <ol> <li>Set the font family of the page to <span class="highCSV">Arial</span> with backups of <span class="highCSV">Helvetica</span> and <span class="highCSV">sans-serif</span>.</li> <li>Use a selector of your choice to demonstrate a larger letter spacing.</li> <li>Use a selector of your choice to demonstrate the use of text indent.</li> <li>Use a selector of your choice to demonstrate the use of text shadow.</li> <li>Use a selector of your choice to demonstrate the use of text transform.</li> <li>Use a selector of your choice to demonstrate the use of font variant.</li> <li>Use a selector of your choice to demonstrate the use of font weight.</li> <li>Use a selector of your choice to demonstrate the use of text decoration.</li> </ol> </li> </ol> <span class="note ins" title="Added 2023-03-27">The above rules must display a visible change to the display of text on the page.</span> </li> <? $pageName = $userFileName.'-'.$evaluationName.'.html'; ?> <? $pageTitle = $evaluationType.' '.$evaluationNumber.' '.$evaluationTitle.' - '.$userFullName; ?> <li class="page">Create a web page named <b class="copyText"><?=$pageName?></b>. <br><span class="note normal">All css declarations must be in the external style sheet. No internal or inline styles may be used in the html.</span> <br>This code and these elements need to be present: <ol> <li>The page must contain the foundation tags. <a href="#notes" class="smaller">See notes</a></li> <li>Title the page <span-content class="copyText"><?=$pageTitle?></span-content>.</li> <li>Under the <span class="code highELE">h1</span> element add content to show the seven css styles of text you have declared.</li> </ol> <div id="show_page_b" class="inline"><a href="#" onClick="divHide('show_page_b'); divShow('hide_page_b'); return false;">See an example page:</a></div> <div id="hide_page_b" class="hidden"><a href="#" onClick="divHide('hide_page_b'); divShowInline('show_page_b'); return false;">Hide the example page.</a> <? BrowserBegin($pageTitle,'file:///'.$courseNumber.'/'.$evaluationName.'/'.$pageName); ?> <img src="images/example.png" alt="Example page" width="870" height="581"> <? BrowserEnd(); ?> </div> </li> <li>Turn in your assignment: <ol type="a"> <li>Ensure the following files are in your <b><?=$evaluationName?></b> folder: <ul> <li><?=$evaluationName?>.css</li> <li><?=$pageName?></li> </ul> </li> <li>Zip up your <b><?=$evaluationName?></b> folder into a file named <b class="copyText"><?=$uploadFilename?></b>.</li> <li>Browse and select your <b><?=$uploadFilename?></b> file: <input type="file" name="fileUpload" id="inpFileUpload"<?=$disabled?>><div id="divFileploadError"></div></li> <li>Then <input type="submit" name="f_subtask" id="inpSubmit" value="Submit"<?=$disabled?>> for grading.</li> </ol> </li> </ol><? if ( $disabled ) { ?><span class="error bold">Notice: Do not perform this assignment unless this notice has been removed.</span><? } ?> </fieldset> <script src="/js/colorCode.js"></script> <? $PartialGradingCriteria = ' <b>Total possible points: assignmentPoints</b> <br> -assignmentPoints if the <a href="https://jigsaw.w3.org/css-validator/validator.html.en#validate_by_input">CSS Validation Service</a> or <a href="https://validator.w3.org/#validate_by_input">Markup Validation Service</a> report errors. No further grading will be done. <br> Deductions for any elements required by the lab that are not present or correct: <br> -1 for each missing element or like group. <br> -1 for each incorrect element or like group. <br> -1 for any additional css declarations or html elements that have errors. <br> <span class="note">Do not add any additional code or styling other than what is required by the lab. <br>I will deduct points for additional code or styling that are incorrect or cause problems.</span> '; require('../LabNotes.phpinc'); require('Gradebook/EvaluationSubmission_END.phpinc'); // Replaced. #require('../../ReferencesResources.phpinc'); #require($Instructor['Path'].'/ContactInformation.phpinc'); if ($TRACK != '') $_SESSION['TRACK'] .= "<li>End ".basename(__FILE__)."</ol>\n"; ?>