By the end of this lesson, you will be able to turn a project brief into a build plan for your Student Learning Dashboard. This is a critical step in project management.
To turn a project brief into a build plan, you must break down complex elements into simpler parts. For example, think of baking a cake. First, you gather the ingredients and tools. Next, you follow each step carefully until you create a delicious cake. Similarly, in programming, a clear plan is essential to build your dashboard efficiently. Understanding the project’s key goals will guide you through this process.
Your project brief states that the Student Learning Dashboard should display courses, track user progress, and offer a search feature. Therefore, to successfully develop the dashboard, follow these steps:
File: buildPlan.js
// Your JavaScript code will go here
const dashboard = {
courses: [],
addCourse(course) {
this.courses.push(course);
},
displayCourses() {
console.log(this.courses);
},
};
dashboard.addCourse({name: 'Math 101', progress: 75});
dashboard.addCourse({name: 'History 202', progress: 50});
dashboard.displayCourses();
[ { name: 'Math 101', progress: 75 }, { name: 'History 202', progress: 50 } ]
This code creates a dashboard object with two essential functions:
Using functions like these helps keep your code organized and efficient. In addition, clarity in your code structure will make future updates easier.
Now it’s your turn! Create your own build plan by specifying additional features for the Student Learning Dashboard. Consider the following questions:
Include features such as:
functionName() properly.Once you’ve mastered how to convert a project brief to a build strategy, consider learning more about JavaScript and how it relates to other programming skills. Also, if you want to deepen your understanding of JavaScript, check out the lesson on JavaScript basics.