Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


Practical


  
Start with this:
  1. Design a website based on the Works of Shakespeare.
  2. Base it roughly on the Shakespeare pages.
  3. Your site will feature just one of the plays. It will have the full text of the play. The text of the play should be divided into multiple pages.
  4. The home page will be a brief introduction and an index into the play.
  5. Use CSS creatively on the home page.
Then do the following:

Repeat CA

  1. The home page will have a drop-down menu using CSS with links into the Acts and links to supporting remote sites.

  2. CSS for proper nouns:
    1. The CSS will define a class "nounlink" with a special style of a different colour and font size.
    2. The site will highlight at least 10 proper nouns in the text.
    3. It will link all occurrences of each word to a remote site (such as the entry for the word in Wikipedia).
    4. These links will be of class "nounlink" and have that special style.

  3. The site will work on both mobile and desktop. It will re-size elements and re-organise layout as screen width and browser width change.
  
MECT/GCDA also do the following:
  1. The site will include an SSI sidebar (not header) on every page.
  2. Put some Shakespeare links in the sidebar.
  3. When you hover on the sidebar it changes colour.
  4. Insert a button to "hide the sidebar". When clicked this uses JS to hides the sidebar and draws a button to "show the sidebar". When that is clicked we are back to where we started.
  
Write-up:

You will write up a short document about your site:

  1. Show snippets of HTML and CSS (and JS) that you are proud of, and explain what they do.
  2. Do not send me all the code. I can "View Source" to see it myself if needed. Only send me snippets that you want to highlight.
  3. Maximum 3 pages.


ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.