Computer Science Can someone add to this website Im creating alot more color and with background code is below: Senior Citizen Parking First name: Last name: Are you a senior citizen: Yes No Your parking ticket number is:
Computer Science
Can someone add to this website Im creating alot more color and with background
code is below:
<!DOCTYPE html>
<html>
<body>
<h1>Senior Citizen Parking</h1>
<form>
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<p>Are you a senior citizen:</p>
<input type="radio" id="yes" name="age">
<label>Yes</label><br>
<input type="radio" id="no" name="age">
<label>No</label><br><br>
<input type="submit" value="Submit" onclick="document.getElementById('park').style.display = 'block' ;"><br>
<p>Your parking ticket number is:</p>
<p style="display: none" id="park"></p>
<script>
document.getElementById("park").innerHTML = Math.floor(Math.random() * 1000);
</script>
</form>
</body>
</html>
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)