While creating my PHP files, I decided to make the connection file separate from the order for file, which a I am working on for the final project. This way, you can require the config.php file anytime you are connection or referencing the SQL database. The hardest part about all of this was getting the update queries to push to the database using the user’s input from the html form.
Author: Shan McQuown
Module 8
For this assignment, I simply linked a php file from the module 8 weblink that echos a gender from variables. The connection between strings and functions in php is a lot like that in java. You have the ability to echo a string based on a function, for example you could display word counts or parse through the string using a function instead of simply outputting stored text.
Module 6
PHP Solutions:
A. PHP server scripts are surrounded by delimiters, which one?
<?php…?>
B. How do you write “Hello World” in PHP
echo “Hello World”;
All variables in PHP start with which symbol?
$
D. What is the correct way to end a PHP statement?
;
CSS Solutions:
A. What is the correct CSS syntax for making all the <span> elements bold?
span {font-weight:bold}
B. What property is used to change the text color of an element?
font-color:
C. The # symbol specifies that the selector is?
ID
Module 5
In module 5, i created an html form that uses inline javascript to validate the input before allowing the “submit” button to push the data (not yet doing so). The validation is basic, with null checks on all of the fields and a check for the “@” symbol and period on the email.
I had built the wireframe using photoshop and a basic template that I had heavily modified for my vision of the site. I plan to build the header with navigation links and the logo sitting on a wide image banner. The features are yet to be decided and the bottom of the body is going to be used for content such as a blog post.

Module 4
The assignment for module 4 was to create an if else conditional statement using javascript within HTML. I found the conditions to be very straightforward and only struggled with the logical concept of having 3 layers. My javascript works off of the user’s inputted age to define their age category (child, teenager, adult).
The images resulted similarly to last weeks results, with the png-8 and JPEG coming close in terms of page speed and image quality.
Module 3
Javascript Install
This was fairly simple. I did go with a simple variable setup, but it was very pleasant to see how I could convert the “11” plain text into the “total” variable. The toughest part was actually figuring out how to display the code as raw text on the page to show the code itself.
Images
I did not notice too much of a difference between JPG, PNG and GIF in terms of page speed. The PNG did seem to show up slightly quicker, but being that the page is so small, everything loaded very quickly. The PNG and JPEG were close in file size and the GIF was the largest file when downloaded. They all seem to display on mobile fine as well.
Module 1
As this course will specifically focus on web design technologies such as PHP, mySQL and HTML/CSS, my main goals and focus for the future will be directly in web design.
Module 2
Using Javascript for the first time was interesting. The fact that you do can simply script a javascript method in the html without having to reference javascript directly was very surprising. I did some research and come across the button type and used it along with the document.write method since I figured we would be working with buttons eventually. Overall, I found this specific use of javascript simple, but I know it gets far more advanced than a simple button.
The Journey Begins
Thanks for joining me!
Good company in a journey makes the way seem shorter. — Izaak Walton
