Skip to content

irm1005-itec1005-fall-2023/assignment-03-qowiyyah12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Codespaces

Assignment 03

Course Title: Web Development

Course Code: IRM1005 / ITEC1005

Semester: Fall 2023

Due Date: 11:59 PM on November 12, 2023

Assessment: This assignment is worth 15% of your final grade and marked out of 100.

TLDR

  1. Initialise an array and complete the five functions in the index.js file.
  2. Run the automated tests and view results in the console.
  3. Commit your code to your assignment repository in GitHub.
  4. Turn on GitHub Pages in your repository to host your web page online.

Description

This assignment will assess your ability to write basic javascript, including variable decleration, array manipulation, function creation, and using console.log() to output data to the console.

Students will also be assessed on their ability to commit their code to GitHub and activate the GitHub pages service.

Create and host a web page that meets the following requirements:

  • Follow all instructions provided in the index.js file to complete the assignment
  • Initialise an array of todo items
  • Complete the five functions in the index.js file
  • Do not modify the automated test file in any way
  • Run the automated tests to ensure your code is working correctly
  • No errors should be present
  • All tests should pass
  • To be awarded an A, you need add some error checking in your functions, this means adding code in your functions to check if the user input is garbage (like trying to delete a todo ID that doesn't exist, or trying to create a todo by passing a number instead of a string)
  • You must use the GitHub Repository generated by GitHub Classrooms for the assignment
  • Web page must be hosted using GitHub Pages service
  • Web page must be reachable by a browser on the public internet

Table of contents

Acceptance criteria

  • Do not modify the test file in any way
  • Publish your code on GitHub using the GitHub classrooms generated repository
  • Use the GitHub Pages service to host your web page
  • GitHub time stamps on your project files will be used to asses when the assignment was submitted
  • Ensure you have a license file in your repository (recommend MIT license)

Grading rubric

The JavaScript code that you are writing in this assignment 03 is worth 15% of your final grade and marked out of 100.

Criteria Total Marks How we define excellence
Overall code quality (JavaScript) 10% The JavaScript code submitted is well formed, structured, does not produce any errors and has robust error handling.
Initialise to do items array 10% The to do items array is initialised correctly as per instructions.
addToDoItem(text) 10% The function is implemented correctly per specifications in the index.js file and has robust error handling.
removeToDoItem(todoId) 15% The function is implemented correctly per specifications in the index.js file and has robust error handling.
markToDoItemAsCompleted(todoId) 15% The function is implemented correctly per specifications in the index.js file and has robust error handling.
deleteToDoItem(todoId) 15% The function is implemented correctly per specifications in the index.js file and has robust error handling.
clearCompletedTasks() 15% The function is implemented correctly per specifications in the index.js file.
GitHub submission 10% The JavaScript code is added to the script.js file. The tests file has not been modified in any way. The repository has both the assignment README.md file and a LICENSE file that contains the MIT license. GitHub Pages services has been correctly activated.

Late submissions

  • If you are ill or any other issues arise that are beyond your control, please email [email protected] before the specified due date to request a one week extention.
  • If you fail to obtain an extentaion or fail to inform the instructor of any extenuating circumstances that cause a delay in your submission by the posted due date, you will receive a mark of Zero (0) for the assignment.

Checklist

To help with your submission, make sure that you have reviewed the following items

  • Your code is committed and pushed to the GitHub repo that GitHub Classrooms created for you
  • All tests pass and there are no errors in the console
  • GitHub Pages is activated for your repo and your web page is live and accessible. If you are unsure, send your link to a team member and see if they can access your site from their machine.

Submitting your work

Your work must be submitted to your Assignment GitHub repository, which is automatically generated when you accept the assignment through GitHub Classrooms.

When you complete your work, commit and push your code to your repository. There is nothing else that you need to do to mark your assignment as completed.

There are a few ways that you can submit your work to your Assignment repository:

  • Clone your GitHub repository, work off of your local machine, and commit your changes through VSCode (recommended)
  • Use the GitHub code editor web interface to paste your completed code right into GitHub
  • Use a developer container such as GitHub Code Spaces, StackBlitz or replit

Helpful links

HTML Resources

Images and Icons

GitHub

Git

Releases

No releases published

Packages

No packages published