Lesson Weekend

We'll start out this section by learning about some important programming concepts that will allow us to better work with data:

  • Arrays: Lists of data or information
  • Looping: A way of repeating code until a condition is met

We'll learn many different kinds of looping techniques this section. Then, at the end of the section, we'll review these techniques and learn about when to use each kind of loop.

We'll dedicate the rest of our time to coding, putting into practice everything we've learned so far.

Each day's exercises will specifically explore the section's objectives. Remember that speed and quantity are not measurements of success at the end of a day...understanding is. While we expect you to review and share each other's work, there's a great saying that applies (with a slight Epicodus modification): Don't compare your code to the code of others. Compare your code to the code you wrote yesterday.

This section also shifts where our attention will be focused. So far, we have been creating websites with HTML, CSS and Bootstrap. We've added effects with jQuery and gotten started on the basics of JavaScript. When a project was completed, we ran the code in the browser to display it.

In this section, we will continue to practice good separation of business logic and user interface logic. We'll focus on writing our own JavaScript functions that we will call from jQuery.

At the end of this section, you will be able to:

  • Break problems down into behavior examples
  • Build JavaScript functions that use arrays and looping
  • Create HTML pages that use jQuery to call JavaScript functions

Note that there is also a big shift in how the coursework is presented. In the first two sections of the course, most lessons included a separate practice lesson. At this point, though, we are gradually moving away from practice classwork that focuses on content from just one lesson. Instead, we will focus on larger projects where you can apply all of the concepts covered in the lessons.

Independent Project Objectives

The code review will give you the opportunity to develop a project with the following objectives:

  • JavaScript business logic and user interface logic are separate.
  • Tests are included for each behavior and code is committed after each test passes.
  • Application implements a loop and works as expected.
  • The user can use the application repeatedly and see new results.
  • All previous objectives have been met.
  • Required functionality is in place by the deadline.
  • Project demonstrates understanding of this week's concepts. If prompted, you are able to discuss your code with an instructor using correct terminology.

Lesson 1 of 38
Last updated more than 3 months ago.