In completing this assignment you MAY use/access the following resources:
You may NOT use/access:
- Anything in the universe not in the list above.
- That includes source code not provided as part of an assignment (whether
written by someone else or something else).
- That includes code-generating tools (of which ChatGPT and Copilot are examples).
- Any web sites not provided above and not directly linked to from the
homework assignment.
Failure to abide by these guidelines will result in a zero for the assignment
and you will be given the opportunity to rework the assignment. You will not be
given a time extension so late points will apply.
You will use the template created on labday to create a static site with five
pages as described below. Do NOT work in the template subdirectory. Instead,
create a new directory inside hw01 called staticsite. It should be
an exact replica of the template directory and then you will modify it as
described below.
When this assignment is complete you will have a simple NodeJs application that
provides an index page with links to various individual pages that give
information on the topics listed here:
- Javascript arrow function notation.
- Using the Javascript spread operator in code and in parameter lists.
- Using the Javascript array .map() function.
- Explanation of the server.ts and routes/index.ts
files in our template that was created for labday.
Your site will contain five static pages. You will have a home page that
consists of links to the the four informational pages listed above.
For each of the informational pages, follow these guidelines:
- Visit https://chatgpt.com and start a new chat.
- Have ChatGPT enter Study and Learn mode by click the + icon
in the search box and selecting it from the list.
- Ask ChatGPT to explain to you the given topic and then interact
with various follow-ups until you have a good grasp of the topic.
NOTE: This is the only permitted use of AI tools for this assignment.
All other aspects of the assignment MUST be done by you using only
the resources listed above.
- You will copy and paste the entire chat as the informational
page on that topic.
- Use HTML and CSS to format the chat sessions so they are aesthetically
pleasing. Your prompts and responses should be formatted distinctly from
the AI responses.
- All code snippets in the chat session should be formatted using
the prism.js syntax highlighting library. For an example of how
to import the CSS and JS files and to use them for syntax highlighting,
see the example here: https://josephus.sergeantservices.com/classes/w2/source/syntax-demo.html
If you have not already shared your repository with the instructor (
terrys@gmail.com) then do so now. Make sure your final solution is
posted to your bitbucket repository with an appropriate commit message.