front-end-developer_1_
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Front-End-Developer - Level 1<br />
13.The Ping Pong Test Code Review<br />
The Ping-Pong test<br />
The code review for this week is a programming test that makes sure you understand how to<br />
use loops, conditionals, and variables. The challenge is to simply make a web page where<br />
the user is prompted to enter a number, and then the page displays every number up to that<br />
number. But, for multiples of three, the page prints "ping" instead of the number, and for<br />
multiples of five, the page prints "pong". For numbers that are multiples of three and five, the<br />
page prints "ping-pong".Here's an example:<br />
Take the test and make the page! Here is a hint: To tell if one number is divisible by another<br />
number, use the % operator. For example, if a variable called number is divisible by 7, then<br />
number % 7 returns 0 .<br />
Due: Friday, October 16th at midnight<br />
Below are the objectives the instructor will use to review your code.<br />
This week's code review objectives<br />
All previous standards (last code review's objectives) are in place<br />
Logic is easy to understand<br />
JavaScript function(s) process user input<br />
jQuery updates the DOM after user input<br />
Last review's objectives<br />
Variable names are descriptive of what they represent<br />
Web page is styled using Bootstrap and CSS<br />
Code has proper indentation and spacing<br />
Commits are made regularly with clear messages that finish the phrase "It will..."<br />
Project README that includes:<br />
author name<br />
program name<br />
description<br />
setup instructions with link to project on github.io<br />
copyright and license information<br />
Javascript Code Review<br />
150