js 1
This commit is contained in:
parent
44082ca4e4
commit
363ef9b198
@ -1,8 +1,8 @@
|
|||||||
####Get Prime Numbers Challenge
|
Get Prime Numbers Challenge
|
||||||
|
===========================
|
||||||
|
|
||||||
In the HTML file you'll find the normal template plus an input form.
|
In the HTML file you'll find the normal template plus an input form.
|
||||||
|
|
||||||
Have the input form accept a number from the user. When the form is submitted, have the function getPrimes take the number as an argument (num) and calculate all the prime numbers up to and including num.
|
Have the input form accept a number from the user. When the form is submitted, have the function getPrimes take the number as an argument (num) and calculate all the prime numbers up to and including num.
|
||||||
|
|
||||||
In typical fashion, use JQuery to have all the prime numbers append to the "#printout" div. Make sure they are wrapped in p tags for readability. Do not modify the HTML in any way.
|
In typical fashion, use JQuery to have all the prime numbers append to the "#printout" div. Make sure they are wrapped in p tags for readability. Do not modify the HTML in any way.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user