Initial commit
BIN
INFO-1252 (Front End Dev)/Labs/Lab-1.zip
Normal file
BIN
INFO-1252 (Front End Dev)/Labs/Lab-1/img/brick.jpg
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
INFO-1252 (Front End Dev)/Labs/Lab-1/img/rust.jpg
Normal file
|
After Width: | Height: | Size: 27 KiB |
BIN
INFO-1252 (Front End Dev)/Labs/Lab-1/img/wood.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
37
INFO-1252 (Front End Dev)/Labs/Lab-1/index.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>My First Sample Site</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Heading One</h1>
|
||||
<ul>
|
||||
<li><a href=#>Contact Us</a></li>
|
||||
<li><a href=#>Call Us</a></li>
|
||||
<li><a href=#>More Info</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Itaque quidem explicabo animi accusamus temporibus ex error odit porro dolore in quasi nulla <b>voluptatem consectetur labore, quis, autem, voluptates</b> id natus! Lorem ipsum dolor sit amet consectetur adipisicing elit. Iusto, nesciunt deleniti, exercitationem totam amet a laudantium ut tenetur itaque quos similique in molestiae eligendi ipsam voluptatibus repellendus vitae sequi consequatur.</p>
|
||||
<b><i>This is a smaller paragraph!</i></b>
|
||||
|
||||
<h2>Heading Two</h2>
|
||||
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Unde illo ratione culpa nisi. Repellat, at! Eaque quasi, sequi, quo exercitationem similique provident incidunt, temporibus nam repellendus dolores vero dolor sed? Lorem ipsum dolor, sit amet consectetur adipisicing elit. Corrupti deserunt quaerat quas, non ipsa pariatur? Nulla cum ullam, dolore autem repellat voluptatum est modi fuga a odit at repudiandae dolor!</p>
|
||||
<img src="img/brick.jpg" alt="A picture of bricks" height="150">
|
||||
<img src="img/rust.jpg" alt="A picture of rust" height="150">
|
||||
<img src="img/wood.jpg" alt="A picture of wood" height="150">
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Tempora quidem rem, autem deserunt pariatur ex quos ab excepturi quasi odit veritatis labore vitae animi fugit dicta, totam commodi. Cumque, expedita! Lorem ipsum dolor sit amet consectetur adipisicing elit. Maiores cum illum, tempore nisi maxime est aut delectus exercitationem sapiente veritatis id vero enim, reiciendis blanditiis quis temporibus voluptate dolorum dignissimos?</p>
|
||||
<ol>
|
||||
<li>First item</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
<li>Fouth item</li>
|
||||
</ol>
|
||||
</body>
|
||||
|
||||
<footer>
|
||||
<hr>
|
||||
<p>© 2025 | IWD2-01 INFO-1252 Lab 1 Test Website | Made by Levi McLean</p>
|
||||
</footer>
|
||||
</html>
|
||||
22
INFO-1252 (Front End Dev)/Labs/Lab-1/style.css
Normal file
@@ -0,0 +1,22 @@
|
||||
body {
|
||||
text-align: center;
|
||||
background: #333;
|
||||
color: white;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
ul li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: deepskyblue;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
}
|
||||
BIN
INFO-1252 (Front End Dev)/Labs/Lab-2.zip
Normal file
33
INFO-1252 (Front End Dev)/Labs/Lab-2/about.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta lang="en-CA">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>About Page - Travel Spot</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="/img/logo.jpg" alt="Company logo">
|
||||
<ul class="mainNav">
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="about.html">About Us</a></li>
|
||||
<li><a href="contact.html">Contact Us</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1>About the Travel Spot</h1>
|
||||
<img src="./img/paris.jpg" alt="The eiffel tower">
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente laborum non voluptatibus ad dignissimos culpa labore vitae quae nostrum in ullam officia, nobis quis tempora corporis repellendus suscipit quo nisi. Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam eum officia provident cumque rem earum perferendis similique expedita quos ipsa! Ipsum cumque illum eius reprehenderit harum minus, deserunt <b>iusto fugiat!</b></p>
|
||||
<h2>Satisfaction Guaranteed!</h2>
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Deleniti libero commodi, nesciunt sed non a necessitatibus iste illum architecto eum cumque quo nemo, praesentium magni vero facilis iusto. Quaerat, nulla! Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat eveniet dicta, similique facilis impedit corporis repellat aliquid autem veritatis eaque eos, velit cupiditate ratione enim vel dolorum, laborum ut. Ipsum.</p>
|
||||
<p>Four Reasons to travel with us</p>
|
||||
<ol>
|
||||
<li>customer service</li>
|
||||
<li>prices</li>
|
||||
<li>variety</li>
|
||||
<li>experience</li>
|
||||
</ol>
|
||||
<hr>
|
||||
<p>Copyright © 2022. Travel Spot.</p>
|
||||
</body>
|
||||
</html>
|
||||
59
INFO-1252 (Front End Dev)/Labs/Lab-2/contact.html
Normal file
@@ -0,0 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta lang="en-CA">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Contact Page - Travel Spot</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="/img/logo.jpg" alt="Company logo">
|
||||
<ul class="mainNav">
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="about.html">About Us</a></li>
|
||||
<li><a href="contact.html">Contact Us</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1>Contact the Travel Spot</h1>
|
||||
<p>152 King Street <br> London, Ontario N6R 4T5
|
||||
<br>
|
||||
<b>tel: </b><a href="tel:5195559045">519 555-9045</a>
|
||||
<br>
|
||||
<b>email: </b><a href="mailto:info@travel.com">info@travel.com</a>
|
||||
</p>
|
||||
<h2>Special Prices</h2>
|
||||
<table class="priceTable">
|
||||
<caption style="caption-side: bottom; text-align: left;">
|
||||
<br>
|
||||
<b>Note: </b><p>Meals are not included.</p>
|
||||
</caption>
|
||||
<tr>
|
||||
<th>Destination</th>
|
||||
<th>1 Week</th>
|
||||
<th>2 Weeks</th>
|
||||
<th>3 Weeks</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Paris</th>
|
||||
<td>$850</td>
|
||||
<td>$1,250</td>
|
||||
<td>$1,990</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Italy</th>
|
||||
<td>$750</td>
|
||||
<td>$1,000</td>
|
||||
<td>$1,500</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Brazil</th>
|
||||
<td>$900</td>
|
||||
<td>$1,300</td>
|
||||
<td>$2,100</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<p>Copyright © 2022. Travel Spot.</p>
|
||||
</body>
|
||||
</html>
|
||||
BIN
INFO-1252 (Front End Dev)/Labs/Lab-2/img/barbados.jpg
Normal file
|
After Width: | Height: | Size: 44 KiB |
BIN
INFO-1252 (Front End Dev)/Labs/Lab-2/img/logo.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
INFO-1252 (Front End Dev)/Labs/Lab-2/img/paris.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
25
INFO-1252 (Front End Dev)/Labs/Lab-2/index.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta lang="en-CA">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Home Page - Travel Spot</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="/img/logo.jpg" alt="Company logo">
|
||||
<ul class="mainNav">
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="about.html">About Us</a></li>
|
||||
<li><a href="contact.html">Contact Us</a></li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h1>Welcome to the Travel Spot</h1>
|
||||
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nostrum autem odio voluptas similique quae quam totam, est sapiente neque omnis veniam pariatur sint, culpa mollitia, porro facilis deserunt eum dicta! Lorem ipsum dolor sit amet consectetur adipisicing elit. Eaque provident cum, est iusto, a suscipit beatae expedita voluptatem dignissimos harum porro sint eveniet tempore. Et itaque dolorum recusandae quis soluta. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas quidem voluptatibus amet, reiciendis sit eligendi nihil! Ducimus praesentium delectus at itaque quaerat blanditiis rem asperiores adipisci facilis aliquam? Error, libero!</p>
|
||||
<img src="./img/barbados.jpg" alt="A beach in Barbados">
|
||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente laborum non voluptatibus ad dignissimos culpa labore vitae quae nostrum in ullam officia, nobis quis tempora corporis repellendus suscipit quo nisi. Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquam eum officia provident cumque rem earum perferendis similique expedita quos ipsa! Ipsum cumque illum eius reprehenderit harum minus, deserunt iusto fugiat!</p>
|
||||
<hr>
|
||||
<p>Copyright © 2022. Travel Spot.</p>
|
||||
</body>
|
||||
</html>
|
||||
29
INFO-1252 (Front End Dev)/Labs/Lab-2/style.css
Normal file
@@ -0,0 +1,29 @@
|
||||
.mainNav {
|
||||
text-align: center;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.priceTable {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
caption p {
|
||||
display: inline;
|
||||
}
|
||||
BIN
INFO-1252 (Front End Dev)/Labs/Lab-3.zip
Normal file
BIN
INFO-1252 (Front End Dev)/Labs/Lab-3/img/logo.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
115
INFO-1252 (Front End Dev)/Labs/Lab-3/index.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Registration - Travel Spot</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta lang="EN">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<img src="img/logo.jpg" alt="Company logo">
|
||||
<hr>
|
||||
<h1>Sign Up</h1>
|
||||
<h2>Your next travel starts here!</h2>
|
||||
<p>Fill in the form below:</p>
|
||||
|
||||
<label for="regDate">Registration date:</label>
|
||||
<input type="datetime-local" id="regDate" name="regDate">
|
||||
<br><br>
|
||||
|
||||
<!--Personal Information form-->
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Personal Information</legend>
|
||||
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" id="name" name="name"><br>
|
||||
<label for="email">Email:</label>
|
||||
<input type="email" id="email" name="email"><br>
|
||||
<label for="telephone">Phone:</label>
|
||||
<input type="tel" id="telephone" name="telephone"><br>
|
||||
<label for="passport" name="passport">Passport:</label>
|
||||
<input type="file" id="passport" name="passport"><br>
|
||||
<label for="stress">What is your stress level?</label>
|
||||
<input type="range" id="stress" name="stress">
|
||||
</fieldset>
|
||||
</form><br>
|
||||
|
||||
<!--Travel Destination form-->
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Travel Destination</legend>
|
||||
<p>Tell us where you want to go:</p>
|
||||
<label for="pplTravelling">How many people will be travelling?</label>
|
||||
<input type="text" id="pplTravelling" name="pplTravelling"><br>
|
||||
<label for="period">Preferred Travel Period:</label>
|
||||
<select id="period" name="period" required>
|
||||
<option value="select">-Select-</option>
|
||||
<option value="summer">Summer</option>
|
||||
<option value="winter">Winter</option>
|
||||
</select><br>
|
||||
<label for="destination">Destination:</label>
|
||||
<input type="text" id="destination" name="destination"><br>
|
||||
<label for="departDate">Date of Departure:</label>
|
||||
<input type="date" id="departDate" name="departDate"><br>
|
||||
<label for="returnDate">Date of Return:</label>
|
||||
<input type="date" id="returnDate" name="returnDate"><br>
|
||||
<label for="includeFlight">Include Flight</label>
|
||||
<input type="checkbox" id="includeFlight" name="includeFlight"><br>
|
||||
<label for="includeHotel">Include Hotel</label>
|
||||
<input type="checkbox" id="includeHotel" name="includeHotel"><br>
|
||||
<label for="includeMeals">Include Meals</label>
|
||||
<input type="checkbox" id="includeMeals" name="includeMeals"><br>
|
||||
</fieldset>
|
||||
</form><br>
|
||||
|
||||
<!--Travel Experience field-->
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Travel Experience</legend>
|
||||
<p>Tell us about your last travel experience (leave this section empty if you have never travelled before):</p>
|
||||
<label for="lastDest">Last Destination:</label>
|
||||
<input type="text" id="lastDest" name="lastDest"><br>
|
||||
|
||||
<!--First radio button group-->
|
||||
<label>How do you rate the flight?</label>
|
||||
<input type="radio" id="fightRateGood" name="flightRateGood" value="Good">
|
||||
<label for="flightRateGood">Good</label>
|
||||
<input type="radio" id="fightRateNorm" name="flightRateNorm" value="Normal">
|
||||
<label for="flightRateNorm">Normal</label>
|
||||
<input type="radio" id="fightRateBad" name="flightRateBad" value="Bad">
|
||||
<label for="flightRateBad">Bad</label><br>
|
||||
|
||||
<!--Second radio button group-->
|
||||
<label>How do you rate the hotel?</label>
|
||||
<input type="radio" id="hotelRateGood" name="hotelRateGood" value="Good">
|
||||
<label for="hotelRateGood">Good</label>
|
||||
<input type="radio" id="hotelRateNorm" name="hotelRateNorm" value="Normal">
|
||||
<label for="hotelRateNorm">Normal</label>
|
||||
<input type="radio" id="hotelRateBad" name="hotelRateBad" value="Bad">
|
||||
<label for="hotelRateBad">Bad</label><br>
|
||||
|
||||
<!--Third radio button group-->
|
||||
<label>How do you rate the meal?</label>
|
||||
<input type="radio" id="mealRateGood" name="mealRateGood" value="Good">
|
||||
<label for="mealRateGood">Good</label>
|
||||
<input type="radio" id="mealRateNorm" name="mealRateNorm" value="Normal">
|
||||
<label for="mealRateNorm">Normal</label>
|
||||
<input type="radio" id="fightRateBad" name="mealRateBad" value="Bad">
|
||||
<label for="mealRateBad">Bad</label><br>
|
||||
|
||||
<label for="experienceText">Describe your experience:</label><br>
|
||||
<textarea id="experienceText" name="experienceText" cols="40" rows="5"></textarea>
|
||||
</fieldset>
|
||||
</form><br>
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
<button type="reset">Reset</button>
|
||||
|
||||
<footer>
|
||||
<hr>
|
||||
<p>Copyright © 2025. Travel Spot.</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
85
INFO-1252 (Front End Dev)/Labs/Lab-3/style.css
Normal file
@@ -0,0 +1,85 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 20px;
|
||||
background-color: #f9fafc;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
margin: 0 auto 10px auto;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #2a6ebb;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 8px;
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
background: #fff;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
legend {
|
||||
font-weight: bold;
|
||||
color: #2a6ebb;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
width: 180px;
|
||||
margin: 6px 0;
|
||||
}
|
||||
|
||||
input, select, textarea {
|
||||
padding: 6px;
|
||||
margin: 4px 0;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 8px 16px;
|
||||
margin: 5px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background-color: #2a6ebb;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #1d4f88;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
margin-top: 30px;
|
||||
font-size: 0.9em;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
@media (max-width: 880px) {
|
||||
input[type="radio"] + label {
|
||||
display: inline-block;
|
||||
margin-right: 10px;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
input[type="radio"] {
|
||||
display: inline-block;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||