Starting from:

$30

CSE270E- Javscript Program 1 Solved

Create a javascript program that will do the following.  Please take note of the rubric.

Create this file on your Openstack Instance, make sure code is in your gitlab, and submit a link to your code and git repo here.

1)  Document title should be UID-270-Program1 (UID should be your unique id) (eg: title tag)

2)  There will be one element on the HTML page, a div tag.  The javascript will be placed in-line inside thisdiv-tag.

3)  Your program should implement a simple hi-lo number guessing game.  Pick a random number between 1 and 1000, prompt the user for their guess, and tell the user if they are hi or low relative to your random number.  Display an alert box when the user selects the correct number AND TELL THEM HOW MANY Guesses it took them. 

4)  Then give them a score that appears on the HTML page. Their score will be as follows.  A if it took them10 or fewer tries, B if it took them 20 or fewer tries, etc.  Use some good wording to make them feel "good" 5) A new random number should be picked every time the page loads.

6) COMMENT COMMENT COMMENT.  Your JS code MUST include your name, date, Assignment and the date.

Pgm1
https://miamioh.instructure.com/courses/84369/assignments/873513?module_item_id=1448036           1/2 1/15/2019            Javascript Program1

Criteria
 
Ratings
Pts
Program loads and runs
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
Game Plays correctly
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
Game detects invalid guesses and handles error cleanly
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
Game terminates correctly and displays score
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
Required comments present
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
Code commented, good formatting (indenting, braces, etc). Good variable names
5.0 pts Full

Marks
 
0.0 pts

No

Marks
5.0 pts
 
 
Total Points: 30.0
https://miamioh.instructure.com/courses/84369/assignments/873513?module_item_id=1448036                                                                                                         2/2

More products