Difference between revisions of "Week One Exercises (MGDP2060)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Create a simple home page named index.php)
(Configure File Transfer Protocol (FTP))
Line 33: Line 33:
 
=== Configure File Transfer Protocol (FTP) ===
 
=== Configure File Transfer Protocol (FTP) ===
  
Using an [[FTP client]] of your choice, create a configuration
+
Using an [[FTP client]] of your choice, connect to your web hosting account.
  
 +
You will need the FTP credentials for your account.
  
Upload to web server.
+
Upload '''index.php''' to the web server.
  
Browse.
+
Browse your home page using a [[web browser]] of your choice.
  
 
See [[Home page example (MGDP2060)]].
 
See [[Home page example (MGDP2060)]].

Revision as of 18:21, 20 August 2016

This article contains exercises for Week One of Web Design and Development III (MGDP2060).

In class

Create a web hosting account with x10hosting

Create a free web hosting account with x10hosting for your class exercises.

See x10hosting account example.

Create local folders and subfolders for exercises

By "local folders", we mean folders on your computer (or flash drive), where you store your work.

Create a set of folders and subfolders like this:

  • YOUR-DOMAIN
    • public_ftp
    • public_html

Replace YOUR-DOMAIN with the short form of your URL, similar to: mgdp.x10hosting.com

Create a simple home page named index.php

Create a text document named index.php.

Enter the HTML5 for a simple home page.

Note that this page, like all PHP pages, must be served by a web server.

You cannot browse a PHP page using the file:// protocol (for example, by dragging the icon for index.php onto the icon for a web browser).

Configure File Transfer Protocol (FTP)

Using an FTP client of your choice, connect to your web hosting account.

You will need the FTP credentials for your account.

Upload index.php to the web server.

Browse your home page using a web browser of your choice.

See Home page example (MGDP2060).

You do not need to imitate the above page; you are free to to create any design you like. The important principles:

  • Identify your site
  • Use the title element appropriately.
  • Valid HTML.

Reading for next week

Study the first three chapters of WordPress: The Missing Manual for next week.