lab 2_2
parent
fe987a5208
commit
85f7f6e72d
@ -0,0 +1 @@
|
||||
/lab2_2_CalebFontenot/nbproject/private/
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
{
|
||||
"directory": "public_html/bower_components"
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/Gruntfile.js to edit this template
|
||||
*/
|
||||
module.exports = function (grunt) {
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
});
|
||||
};
|
@ -0,0 +1,57 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>2.15.html</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
table {color: #888888; background-color: #313335; font-family: monospace}
|
||||
.ST2 {color: #287bde}
|
||||
.ST0 {color: #628fb5; background-color: #323232}
|
||||
.value {color: #a5c261}
|
||||
.tag {color: #e8bf6a}
|
||||
.ST3 {color: #6d9cbe}
|
||||
.ST1 {color: #505050; background-color: #323232}
|
||||
.block-comment {color: #808080}
|
||||
.ws {color: #505050}
|
||||
.argument {color: #bababa}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/lab2_2_CalebFontenot/public_html/2.15.html</td></tr></table>
|
||||
<pre>
|
||||
<span class="ST0"><!DOCTYPE</span> <span class="ST0">html</span><span class="ST0">></span>
|
||||
<span class="block-comment"><!--</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt</span><span class="block-comment"> to change this license</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html</span><span class="block-comment"> to edit this template</span>
|
||||
<span class="block-comment">--></span>
|
||||
<span class="tag"><</span><span class="tag">html</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">title</span><span class="tag">></span>Trillium Media Design<span class="tag"></</span><span class="tag">title</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">charset</span><span class="argument">=</span><span class="value">"UTF-8"</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">name</span><span class="argument">=</span><span class="value">"viewport"</span> <span class="argument">content</span><span class="argument">=</span><span class="value">"width=device-width, initial-scale=1.0"</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">header</span><span class="tag">></span> <span class="tag"><</span><span class="tag">h1</span><span class="tag">></span>Trillium Media Design<span class="tag"></</span><span class="tag">h1</span><span class="tag">></span> <span class="tag"></</span><span class="tag">header</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">b</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"2.15/index.html"</span><span class="tag">></span> Home<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"2.15/services.html"</span><span class="tag">></span> Services<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"2.15/contact.html"</span><span class="tag">></span> Contact<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"></</span><span class="tag">b</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">main</span><span class="tag">></span><span class="tag"><</span><span class="tag">h2</span><span class="tag">></span>New Media and Web Design<span class="tag"></</span><span class="tag">h2</span><span class="tag">></span><span class="tag"></</span><span class="tag">main</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">p</span><span class="tag">></span>Trillium Media Design offers a comprehensive range of services to take your company's Web presence to the next level.<span class="tag"></</span><span class="tag">p</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">header</span><span class="tag">></span> <span class="tag"><</span><span class="tag">h1</span><span class="tag">></span> Meeting your business Needs <span class="tag"></</span><span class="tag">h1</span><span class="tag">></span> <span class="tag"></</span><span class="tag">header</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">p</span><span class="tag">></span> Our expert designers will listen to you as they create a website that helps to promote and grow your business <span class="tag"></</span><span class="tag">p</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">small</span><span class="tag">></span><span class="tag"><</span><span class="tag">i</span><span class="tag">></span>Copyright <span class="ST3">&copy;</span> 2023 Caleb Fontenot <span class="tag"></</span><span class="tag">i</span><span class="tag">></span> <span class="tag"></</span><span class="tag">small</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">html</span><span class="tag">></span>
|
||||
|
||||
</pre></body>
|
||||
</html>
|
@ -0,0 +1,61 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>contact.html</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
table {color: #888888; background-color: #313335; font-family: monospace}
|
||||
.ST2 {color: #287bde}
|
||||
.ST0 {color: #628fb5; background-color: #323232}
|
||||
.value {color: #a5c261}
|
||||
.tag {color: #e8bf6a}
|
||||
.ST3 {color: #6d9cbe}
|
||||
.ST1 {color: #505050; background-color: #323232}
|
||||
.block-comment {color: #808080}
|
||||
.ws {color: #505050}
|
||||
.argument {color: #bababa}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/lab2_2_CalebFontenot/public_html/2.15/contact.html</td></tr></table>
|
||||
<pre>
|
||||
<span class="ST0"><!DOCTYPE</span> <span class="ST0">html</span><span class="ST0">></span>
|
||||
<span class="block-comment"><!--</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs</span><span class="ST2">://</span><span class="ST2">nbhost</span><span class="ST2">/</span><span class="ST2">SystemFileSystem</span><span class="ST2">/Templates/Licenses/license-default.</span><span class="ST2">txt</span><span class="block-comment"> to change this license</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs</span><span class="ST2">://</span><span class="ST2">nbhost</span><span class="ST2">/</span><span class="ST2">SystemFileSystem</span><span class="ST2">/Templates/</span><span class="ST2">ClientSide</span><span class="ST2">/</span><span class="ST2">html</span><span class="ST2">.</span><span class="ST2">html</span><span class="block-comment"> to edit this template</span>
|
||||
<span class="block-comment">--></span>
|
||||
<span class="tag"><</span><span class="tag">html</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">title</span><span class="tag">></span>Trillium Media Design - Contact<span class="tag"></</span><span class="tag">title</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">charset</span><span class="argument">=</span><span class="value">"UTF-8"</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">name</span><span class="argument">=</span><span class="value">"viewport"</span> <span class="argument">content</span><span class="argument">=</span><span class="value">"width=device-width, initial-scale=1.0"</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">header</span><span class="tag">></span> <span class="tag"><</span><span class="tag">h1</span><span class="tag">></span>Trillium Media Design<span class="tag"></</span><span class="tag">h1</span><span class="tag">></span> <span class="tag"></</span><span class="tag">header</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">b</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"index.html"</span><span class="tag">></span> Home<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"services.html"</span><span class="tag">></span> Services<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"contact.html"</span><span class="tag">></span> Contact<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"></</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">main</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">h2</span><span class="tag">></span> Contact Trillium Media Design Today<span class="tag"></</span><span class="tag">h2</span><span class="tag">></span><span class="block-comment"><!-- comment --></span>
|
||||
<span class="tag"><</span><span class="tag">ul</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">li</span><span class="tag">></span>
|
||||
E-mail: <span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"mailto:contact@trilliummediadesign.com"</span><span class="tag">></span> contact@trilliummediadesign.com<span class="tag"></</span><span class="tag">a</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">li</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">li</span><span class="tag">></span>Phone: 555-555-5555<span class="tag"></</span><span class="tag">li</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">ul</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">main</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">small</span><span class="tag">></span><span class="tag"><</span><span class="tag">i</span><span class="tag">></span>Copyright <span class="ST3">&copy;</span> 2023 Caleb Fontenot <span class="tag"></</span><span class="tag">i</span><span class="tag">></span> <span class="tag"></</span><span class="tag">small</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">html</span><span class="tag">></span>
|
||||
|
||||
</pre></body>
|
||||
</html>
|
@ -0,0 +1,41 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>index.html</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
table {color: #888888; background-color: #313335; font-family: monospace}
|
||||
.ST0 {color: #628fb5; background-color: #323232}
|
||||
.value {color: #a5c261}
|
||||
.tag {color: #e8bf6a}
|
||||
.ST1 {color: #505050; background-color: #323232}
|
||||
.block-comment {color: #808080}
|
||||
.ws {color: #505050}
|
||||
.argument {color: #bababa}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/lab2_2_CalebFontenot/public_html/2.15/index.html</td></tr></table>
|
||||
<pre>
|
||||
<span class="ST0"><!DOCTYPE</span> <span class="ST0">html</span><span class="ST0">></span>
|
||||
<span class="block-comment"><!--</span>
|
||||
<span class="block-comment">Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license</span>
|
||||
<span class="block-comment">Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template</span>
|
||||
<span class="block-comment">--></span>
|
||||
<span class="tag"><</span><span class="tag">html</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">title</span><span class="tag">></span>TODO supply a title<span class="tag"></</span><span class="tag">title</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">charset</span><span class="argument">=</span><span class="value">"UTF-8"</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">name</span><span class="argument">=</span><span class="value">"viewport"</span> <span class="argument">content</span><span class="argument">=</span><span class="value">"width=device-width, initial-scale=1.0"</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">div</span><span class="tag">></span>TODO write content<span class="tag"></</span><span class="tag">div</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">html</span><span class="tag">></span>
|
||||
|
||||
</pre></body>
|
||||
</html>
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>services.html</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
table {color: #888888; background-color: #313335; font-family: monospace}
|
||||
.ST2 {color: #287bde}
|
||||
.ST0 {color: #628fb5; background-color: #323232}
|
||||
.value {color: #a5c261}
|
||||
.tag {color: #e8bf6a}
|
||||
.ST3 {color: #6d9cbe}
|
||||
.ST1 {color: #505050; background-color: #323232}
|
||||
.block-comment {color: #808080}
|
||||
.ws {color: #505050}
|
||||
.argument {color: #bababa}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%"><tr><td align="center">/home/caleb/ASDV-WebDev/lab2_2_CalebFontenot/public_html/2.15/services.html</td></tr></table>
|
||||
<pre>
|
||||
<span class="ST0"><!DOCTYPE</span> <span class="ST0">html</span><span class="ST0">></span>
|
||||
<span class="block-comment"><!--</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt</span><span class="block-comment"> to change this license</span>
|
||||
<span class="block-comment">Click </span><span class="ST2">nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html</span><span class="block-comment"> to edit this template</span>
|
||||
<span class="block-comment">--></span>
|
||||
<span class="tag"><</span><span class="tag">html</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">title</span><span class="tag">></span>Trillium Media Design - Services<span class="tag"></</span><span class="tag">title</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">charset</span><span class="argument">=</span><span class="value">"UTF-8"</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">meta</span> <span class="argument">name</span><span class="argument">=</span><span class="value">"viewport"</span> <span class="argument">content</span><span class="argument">=</span><span class="value">"width=device-width, initial-scale=1.0"</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">head</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">header</span><span class="tag">></span> <span class="tag"><</span><span class="tag">h1</span><span class="tag">></span>Trillium Media Design<span class="tag"></</span><span class="tag">h1</span><span class="tag">></span> <span class="tag"></</span><span class="tag">header</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">b</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"index.html"</span><span class="tag">></span> Home<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"services.html"</span><span class="tag">></span> Services<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"><</span><span class="tag">a</span> <span class="argument">href</span><span class="argument">=</span><span class="value">"contact.html"</span><span class="tag">></span> Contact<span class="tag"></</span><span class="tag">a</span><span class="tag">></span><span class="ST3">&nbsp;</span>
|
||||
<span class="tag"></</span><span class="tag">nav</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">b</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">main</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">h2</span><span class="tag">></span>Our Services Meet Your Business Needs<span class="tag"></</span><span class="tag">h2</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dl</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dt</span><span class="tag">></span><span class="tag"><</span><span class="tag">strong</span><span class="tag">></span>Website Design<span class="tag"></</span><span class="tag">strong</span><span class="tag">></span><span class="tag"></</span><span class="tag">dt</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dd</span><span class="tag">></span> Whether your needs are large or small, <span class="tag"></</span><span class="tag">dd</span><span class="tag">></span><span class="block-comment"><!-- comment --></span>
|
||||
<span class="tag"><</span><span class="tag">dt</span><span class="tag">></span><span class="tag"><</span><span class="tag">strong</span><span class="tag">></span>E-Commerce Solutions<span class="tag"></</span><span class="tag">strong</span><span class="tag">></span><span class="tag"></</span><span class="tag">dt</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dd</span><span class="tag">></span> Whether your needs are large or small, <span class="tag"></</span><span class="tag">dd</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dt</span><span class="tag">></span><span class="tag"><</span><span class="tag">strong</span><span class="tag">></span>Search Engine Optimization<span class="tag"></</span><span class="tag">strong</span><span class="tag">></span><span class="tag"></</span><span class="tag">dt</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">dd</span><span class="tag">></span> Whether your needs are large or small, <span class="tag"></</span><span class="tag">dd</span><span class="tag">></span>
|
||||
|
||||
<span class="tag"></</span><span class="tag">dl</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">main</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">body</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"><</span><span class="tag">small</span><span class="tag">></span><span class="tag"><</span><span class="tag">i</span><span class="tag">></span>Copyright <span class="ST3">&copy;</span> 2023 Caleb Fontenot <span class="tag"></</span><span class="tag">i</span><span class="tag">></span> <span class="tag"></</span><span class="tag">small</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">footer</span><span class="tag">></span>
|
||||
<span class="tag"></</span><span class="tag">html</span><span class="tag">></span>
|
||||
|
||||
</pre></body>
|
||||
</html>
|
@ -0,0 +1,164 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>Lab2DArraysSort_CalebFontenot.java</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
pre {color: #a9b7c6; background-color: #2b2b2b; font-family: monospace}
|
||||
table {color: #888888; background-color: #313335; font-family: monospace}
|
||||
.literal {color: #cc7832}
|
||||
.ST4 {font-family: monospace; font-style: italic}
|
||||
.ST0 {color: #287bde}
|
||||
.ST3 {color: #9876aa}
|
||||
.number {color: #6897bb}
|
||||
.string {color: #6a8759}
|
||||
.comment {color: #808080}
|
||||
.whitespace {color: #505050}
|
||||
.ST2 {color: #ffc66d; font-family: monospace; font-style: italic}
|
||||
.ST5 {color: #9876aa; font-family: monospace; font-style: italic}
|
||||
.ST1 {color: #808080; font-family: monospace; font-weight: bold}
|
||||
.ST6 {color: #8a653b}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<table width="100%"><tr><td align="center">/home/caleb/ASDV-Java/Semester 2/Assignments/lab-2D-arrays-sort_CalebFontenot/src/main/java/com/calebfontenot/lab/d/arrays/sort_calebfontenot/Lab2DArraysSort_CalebFontenot.java</td></tr></table>
|
||||
<pre>
|
||||
<span class="comment">/*</span>
|
||||
<span class="comment"> * Click </span><span class="ST0">nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt</span><span class="comment"> to change this license</span>
|
||||
<span class="comment"> */</span>
|
||||
<span class="literal">package</span> com.calebfontenot.lab.d.arrays.sort_calebfontenot;
|
||||
|
||||
<span class="comment">/**</span>
|
||||
<span class="comment"> *</span>
|
||||
<span class="comment"> * </span><span class="ST1">@author</span> <span class="comment">caleb</span>
|
||||
<span class="comment">*/</span>
|
||||
<span class="literal">public</span> <span class="literal">class</span> Lab2DArraysSort_CalebFontenot {
|
||||
|
||||
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">int</span> <span class="ST2">maxNumberOfColumnsInJagged2dArray</span>(<span class="literal">char</span>[][] ar)
|
||||
{
|
||||
<span class="literal">int</span> maxNumberOfColumns = <span class="number">0</span>;
|
||||
<span class="literal">for</span> (<span class="literal">int</span> row = <span class="number">0</span>; row < ar.<span class="ST3">length</span>; ++row) {
|
||||
<span class="literal">if</span> (ar[row].<span class="ST3">length</span> > maxNumberOfColumns) {
|
||||
maxNumberOfColumns = ar[row].<span class="ST3">length</span>;
|
||||
}
|
||||
}
|
||||
|
||||
<span class="literal">return</span> maxNumberOfColumns;
|
||||
}
|
||||
|
||||
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">void</span> <span class="ST2">printColumnMajorOrder</span>(<span class="literal">char</span>[][] ar)
|
||||
{
|
||||
<span class="literal">int</span> row = <span class="number">0</span>;
|
||||
<span class="literal">int</span> column = <span class="number">0</span>;
|
||||
<span class="literal">int</span> max = <span class="ST4">maxNumberOfColumnsInJagged2dArray</span>(ar);
|
||||
<span class="literal">for</span> (column = <span class="number">0</span>; column < max; ++column) {
|
||||
<span class="literal">for</span> (row = <span class="number">0</span>; row < ar.<span class="ST3">length</span>; ++row) {
|
||||
<span class="literal">if</span> (column < ar[row].<span class="ST3">length</span>) {
|
||||
System.<span class="ST5">out</span>.print(ar[row][column] + <span class="string">"</span> <span class="string">"</span>);
|
||||
}
|
||||
}
|
||||
System.<span class="ST5">out</span>.println(<span class="string">"</span><span class="string">"</span>);
|
||||
}
|
||||
}
|
||||
|
||||
<span class="comment">/**</span>
|
||||
<span class="comment"> * </span><span class="comment">Prints</span> <span class="comment">row</span> <span class="comment">by</span> <span class="comment">row</span>
|
||||
<span class="comment"> *</span>
|
||||
<span class="comment"> * </span><span class="ST1">@param</span> <span class="ST6">ar</span>
|
||||
<span class="comment">*/</span>
|
||||
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">void</span> <span class="ST2">printRowMajorOrder</span>(<span class="literal">char</span>[][] ar)<span class="comment">//normal</span>
|
||||
{
|
||||
<span class="literal">for</span> (<span class="literal">int</span> x = <span class="number">0</span>; x < ar.<span class="ST3">length</span>; ++x) {
|
||||
<span class="literal">for</span> (<span class="literal">int</span> y = <span class="number">0</span>; y < ar[x].<span class="ST3">length</span>; ++y) {
|
||||
System.<span class="ST5">out</span>.print(ar[x][y] + <span class="string">""</span>);
|
||||
}
|
||||
System.<span class="ST5">out</span>.println();
|
||||
}
|
||||
|
||||
}
|
||||
<span class="literal">public</span> <span class="literal">static</span> String <span class="ST2">returnRowMajorOrder</span>(<span class="literal">char</span>[] ar)<span class="comment">//normal</span>
|
||||
{
|
||||
String returnString = <span class="string">""</span>;
|
||||
<span class="literal">for</span> (<span class="literal">int</span> x = <span class="number">0</span>; x < ar.<span class="ST3">length</span>; ++x) {
|
||||
returnString += ar[x];
|
||||
}
|
||||
<span class="literal">return</span> returnString;
|
||||
}
|
||||
|
||||
<span class="comment">/**</span>
|
||||
<span class="comment"> * </span><span class="comment">Sorts</span> <span class="comment">the</span> <span class="comment">methods</span> <span class="comment">in</span> <span class="comment">ascending</span> <span class="comment">order</span> <span class="comment">using</span> <span class="comment">Selection</span> <span class="comment">Sort</span>
|
||||
<span class="comment"> *</span>
|
||||
<span class="comment"> * </span><span class="ST1">@param</span> <span class="ST6">names</span> <span class="comment">the</span> <span class="comment">names</span> <span class="comment">to</span> <span class="comment">be</span> <span class="comment">sorted</span>
|
||||
<span class="comment">*/</span>
|
||||
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">void</span> <span class="ST2">sortNames</span>(<span class="literal">char</span>[][] names)
|
||||
{
|
||||
<span class="literal">for</span> (<span class="literal">int</span> i = <span class="number">0</span>; i < names.<span class="ST3">length</span> - <span class="number">1</span>; ++i) {
|
||||
<span class="literal">for</span> (<span class="literal">int</span> j = i + <span class="number">1</span>; j < names.<span class="ST3">length</span>; ++j) {
|
||||
<span class="literal">char</span> compChar1 = names[i][<span class="number">0</span>], compChar2 = names[j][<span class="number">0</span>];
|
||||
<span class="comment">// Reoder entire row</span>
|
||||
<span class="literal">for</span> (<span class="literal">int</span> rowIterate = <span class="number">1</span>; rowIterate < <span class="ST4">maxNumberOfColumnsInJagged2dArray</span>(names); ++rowIterate) {
|
||||
<span class="literal">if</span> (Character.<span class="ST4">toLowerCase</span>(compChar1) == Character.<span class="ST4">toLowerCase</span>(compChar2)) {
|
||||
<span class="literal">try</span> {
|
||||
compChar1 = names[i][rowIterate];
|
||||
compChar2 = names[j][rowIterate];
|
||||
} <span class="literal">catch</span> (Exception ex) {
|
||||
<span class="comment">// If it's failed, the index has gone out of range.</span>
|
||||
<span class="comment">// Check the length of the arrays and swap the larger one with the smaller one.</span>
|
||||
<span class="literal">if</span> (names[i].<span class="ST3">length</span> > names[j].<span class="ST3">length</span>) {
|
||||
<span class="comment">//System.out.println(names[i].length + " " + names[j].length);</span>
|
||||
<span class="comment">//System.out.println("Swapping " + returnRowMajorOrder(names[i]) + " with " + returnRowMajorOrder(names[j]));</span>
|
||||
<span class="literal">char</span>[] temp = names[i];
|
||||
names[i] = names[j];
|
||||
names[j] = temp;
|
||||
}
|
||||
<span class="literal">break</span>;
|
||||
}
|
||||
|
||||
}
|
||||
<span class="literal">if</span> (Character.<span class="ST4">toLowerCase</span>(compChar1) > Character.<span class="ST4">toLowerCase</span>(compChar2)) {
|
||||
<span class="literal">char</span>[] temp = names[i];
|
||||
names[i] = names[j];
|
||||
names[j] = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<span class="literal">public</span> <span class="literal">static</span> <span class="literal">void</span> <span class="ST2">main</span>(String[] args)
|
||||
{
|
||||
<span class="comment">/*</span>
|
||||
<span class="comment">char[][] names = {</span>
|
||||
<span class="comment"> {'j', 'o', 'h', 'n'},</span>
|
||||
<span class="comment"> {'a', 'n'},</span>
|
||||
<span class="comment"> {'b', 'y', 'r', 'o', 'n'},};</span>
|
||||
<span class="comment"> */</span>
|
||||
<span class="comment">///*</span>
|
||||
<span class="literal">char</span>[][] names = {
|
||||
{<span class="string">'</span><span class="string">j</span><span class="string">'</span>, <span class="string">'</span><span class="string">o</span><span class="string">'</span>, <span class="string">'</span><span class="string">h</span><span class="string">'</span>, <span class="string">'</span><span class="string">n</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">a</span><span class="string">'</span>, <span class="string">'</span><span class="string">n</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">y</span><span class="string">'</span>, <span class="string">'</span><span class="string">r</span><span class="string">'</span>, <span class="string">'</span><span class="string">o</span><span class="string">'</span>, <span class="string">'</span><span class="string">n</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">y</span><span class="string">'</span>, <span class="string">'</span><span class="string">r</span><span class="string">'</span>, <span class="string">'</span><span class="string">o</span><span class="string">'</span>, <span class="string">'</span><span class="string">n</span><span class="string">'</span>, <span class="string">'</span><span class="string">i</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">a</span><span class="string">'</span>, <span class="string">'</span><span class="string">a</span><span class="string">'</span>, <span class="string">'</span><span class="string">o</span><span class="string">'</span>, <span class="string">'</span><span class="string">n</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">c</span><span class="string">'</span>},
|
||||
{<span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>, <span class="string">'</span><span class="string">b</span><span class="string">'</span>}
|
||||
};
|
||||
<span class="comment">//*/</span>
|
||||
<span class="comment">//printColumnMajorOrder(names);</span>
|
||||
<span class="ST4">printRowMajorOrder</span>(names);
|
||||
System.<span class="ST5">out</span>.println();
|
||||
<span class="ST4">sortNames</span>(names);
|
||||
<span class="comment">//System.out.println();</span>
|
||||
<span class="ST4">printRowMajorOrder</span>(names);
|
||||
<span class="comment">//printColumnMajorOrder(names);</span>
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
</pre></body>
|
||||
</html>
|
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "lab2_2_CalebFontenot",
|
||||
"version": "1.0.0",
|
||||
"main": "path/to/main.css",
|
||||
"ignore": [
|
||||
".jshintrc",
|
||||
"**/*.txt"
|
||||
],
|
||||
"dependencies": {
|
||||
},
|
||||
"devDependencies": {
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
* Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/gulpfile.js to edit this template
|
||||
*/
|
||||
|
||||
var gulp = require('gulp');
|
||||
|
||||
gulp.task('default', function () {
|
||||
// place code for your default task here
|
||||
});
|
@ -0,0 +1,5 @@
|
||||
file.reference.lab2_2_CalebFontenot-public_html=public_html
|
||||
file.reference.lab2_2_CalebFontenot-test=test
|
||||
files.encoding=UTF-8
|
||||
site.root.folder=${file.reference.lab2_2_CalebFontenot-public_html}
|
||||
test.folder=${file.reference.lab2_2_CalebFontenot-test}
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>lab2_2_CalebFontenot</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "lab2_2_CalebFontenot",
|
||||
"version": "1.0.0",
|
||||
"keywords": ["util", "functional", "server", "client", "browser"],
|
||||
"author": "caleb",
|
||||
"contributors": [],
|
||||
"dependencies": {}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Trillium Media Design</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header> <h1>Trillium Media Design</h1> </header>
|
||||
<nav>
|
||||
<b>
|
||||
<a href="2.15/index.html"> Home</a>
|
||||
<a href="2.15/services.html"> Services</a>
|
||||
<a href="2.15/contact.html"> Contact</a>
|
||||
</b>
|
||||
</nav>
|
||||
<main><h2>New Media and Web Design</h2></main>
|
||||
<p>Trillium Media Design offers a comprehensive range of services to take your company's Web presence to the next level.</p>
|
||||
<header> <h1> Meeting your business Needs </h1> </header>
|
||||
<p> Our expert designers will listen to you as they create a website that helps to promote and grow your business </p>
|
||||
</body>
|
||||
<footer>
|
||||
<small><i>Copyright © 2023 Caleb Fontenot </i> </small>
|
||||
</footer>
|
||||
</html>
|
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Trillium Media Design - Contact</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header> <h1>Trillium Media Design</h1> </header>
|
||||
<nav>
|
||||
<b>
|
||||
<a href="index.html"> Home</a>
|
||||
<a href="services.html"> Services</a>
|
||||
<a href="contact.html"> Contact</a>
|
||||
</nav>
|
||||
<main>
|
||||
<h2> Contact Trillium Media Design Today</h2><!-- comment -->
|
||||
<ul>
|
||||
<li>
|
||||
E-mail: <a href="mailto:contact@trilliummediadesign.com"> contact@trilliummediadesign.com</a>
|
||||
</li>
|
||||
<li>Phone: 555-555-5555</li>
|
||||
</ul>
|
||||
</main>
|
||||
</body>
|
||||
<footer>
|
||||
<small><i>Copyright © 2023 Caleb Fontenot </i> </small>
|
||||
</footer>
|
||||
</html>
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>TODO supply a title</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<div>TODO write content</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Trillium Media Design - Services</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header> <h1>Trillium Media Design</h1> </header>
|
||||
<nav>
|
||||
<b>
|
||||
<a href="index.html"> Home</a>
|
||||
<a href="services.html"> Services</a>
|
||||
<a href="contact.html"> Contact</a>
|
||||
</nav>
|
||||
</b>
|
||||
<main>
|
||||
<h2>Our Services Meet Your Business Needs</h2>
|
||||
<dl>
|
||||
<dt><strong>Website Design</strong></dt>
|
||||
<dd> Whether your needs are large or small, </dd><!-- comment -->
|
||||
<dt><strong>E-Commerce Solutions</strong></dt>
|
||||
<dd> Whether your needs are large or small, </dd>
|
||||
<dt><strong>Search Engine Optimization</strong></dt>
|
||||
<dd> Whether your needs are large or small, </dd>
|
||||
|
||||
</dl>
|
||||
</main>
|
||||
</body>
|
||||
<footer>
|
||||
<small><i>Copyright © 2023 Caleb Fontenot </i> </small>
|
||||
</footer>
|
||||
</html>
|
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>Trillium Media Design</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<header> <h1>Trillium Media Design</h1> </header>
|
||||
<nav> <b> Home Services Contact</b>
|
||||
</nav>
|
||||
<main><h2>New Media and Web Design</h2></main>
|
||||
<p>Trillium Media Design offers a comprehensive range of services to take your company's Web presence to the next level.</p>
|
||||
<header> <h1> Meeting your business Needs </h1> </header>
|
||||
<p> Our expert designers will listen to you as they create a website that helps to promote and grow your business </p>
|
||||
</body>
|
||||
<footer>
|
||||
<small><i>Copyright © 2023 Caleb Fontenot </i> </small>
|
||||
</footer>
|
||||
</html>
|
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
|
||||
Click nbfs://nbhost/SystemFileSystem/Templates/Other/html.html to edit this template
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
<title>TODO supply a title</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<div>TODO write content</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue