changed index.html to group3.html and script.js to group3.js   completed group 3 script using ternary operator