{"size": 857, "ext": "js", "max_stars_repo_path": "jscript/app.js", "max_stars_repo_name": "alaabaraka/about-me", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "jscript/app.js", "max_issues_repo_name": "alaabaraka/about-me", "max_issues_repo_issues_event_min_datetime": "2021-05-26T12:20:23.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-26T12:20:23.000Z", "max_forks_repo_path": "jscript/app.js", "max_forks_repo_name": "alaabaraka/about-me", "max_forks_repo_forks_event_min_datetime": "2021-05-26T12:05:31.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-26T12:05:31.000Z"}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 24.4857142857, "max_line_length": 236, "alphanum_fraction": 0.6861143524}
//
/*
1. Welcome Message for the User
2. Ask the user is your favourite book literture?
3. Keep asking

*/

alert(' Welcome to my website');

let favouriteBook=prompt (' is your favourite book literture ?');

favouriteBook.toLowerCase();

if (favouritebook !== 'yes' || favouritebook !== 'y') {
  alert('correct,great job');
} else if (favouritebook !== 'no' || favouritebook !== 'n') {
  alert('sorry thats wrong');
} else

  alert('Please only answer  yes/y no/n ');




var hearts = prompt('How do you rate our Website 1-5?');

if (hearts > 5) {
  hearts = 5;
}
for (var i = 0; i < hearts; i++) {
  console.log(i);
  document.write('<img src="https://qtxasset.com/styles/breakpoint_xl_880px_w/s3/fiercebiotech/1607691764/connor-wells-534089-unsplash.jpg/connor-wells-534089-unsplash.jpg?IxnhKzf6LZYze4g.sUsGbEiQZd5tCaJN&itok=gmQPxIfy" width="80px">');
}
