To Home Page
IT 231 -- Project 1
Personal Info Site
- Create, zip, and submit a Rails project with these specifications:
- Name the rails folder Proj1Smith, where you replace Smith with your
last name.
- Create a controller named MyInfoSite, with three views infopage,
myfavorites, and photos.
- The infopage view should contain information (preferably interesting)
about yourself.
- The myfavorites view should contain information about your preferences,
for example, favorite color, song, book, animal, etc.
- The photos page should contain some images. Include an explanation
of what the images are and why they are important or interesting.
No image should have a file size larger than 25K. Reduce the file size
of the image with MS Paint, Photoshop, or other image manipulation software.
- Create a stylesheet to be used by the three pages
infopage.html.erb, myfavorites.html.erb and photos.html.erb. Use the
stylesheet to set the text color, background color and fonts, at a minimum.
Do not use the Times New Roman font; it makes your website look like an
early 1990s site.) Since Times New Roman is usually the default font
for your browser, it also makes your site look like you were too lazy to
choose a font for it. Also, do not use the same fonts and colors that were
used in the Library Example
Some tags like the <tr> or <a> tags do not pick up the font
from the <body> tag, so you will need to
specifically set the font for those tags.
- Here are some other
things to avoid on your website.
- Modify the layout page application.html.erb that is used by the
three views infopage.html.erb, myfavorites.html.erb, and photos.html.erb.
Include a navigation bar that contains links to these three views.
See Example 7 (Library Example) for details. The layout page should contain
this validation header.
- Specify the title for the title section and h1 heading as the instance
variable @title in the controller for each view (DRY principle).
- If you used a batch file to create the controller, include the batch
file in your submission.
- Grading Criteria: Functionality: 50%; Content: 20%;
Styles and Layout: 20%; Zipped and Submitted Correctly: 10%.
- Use the Example 7 (Library Example) as a guide to writing the source
code.