Examine the following code, which contains six common bugs. In a separate Microsoft Word (or other word processing or text file), identify the line number of at least three (3) bugs as well as a brief description of each bug. 1. 2.
1. <!DOCTYPE html>
2. </html>
3. <head> <link rel="stylesheet" href="MyStyle.css"> </head>
4. <body>
5. <nav>
6. <a href="GroceryHome.html">Home</a> |
7. <a href="Products.html">Products</a> |
8. <a href="AboutUs.html">About Us</a> |
9. <a href="Contact.html">Contact</a>
10. </nav>
11. <header>
12. <h1> My Contact Page</h1>
13. </header>
14. <article>
15. Thank you for your interest in our grocery store. We offer delivery or call-ahead pickup services.
Please provide your contact information, and indicate your family's food preferences.
16. </article> <p>
17. <form action="#" method="post" id="form1">
18. <div class="div1">
19. <label for="fname1" >First Name:</label><br>
20. <input type="text" name="firstname1" id="fname1"><br>
21. <label for="lname1" >Last Name:</label><br>
22. <input type="text" name="lastname1" id="lname1"><br>
23. <label for="phone1" >Phone (i.e. 123-456-7890):</label><br>
24. <input type="text" name="phone1" id="phone1" placeholder="123-456-7890" ><br>
25. <label for="email1" >Email:</label><br>
26. <input type="text" name="email1" id="email1" placeholder="abc@xyz"><br>
27. <label for="contactpreference1" >Prefered contact method?</label><br>
28. <input type="radio" name="contactpreference1" value="phone" checked> Phone
29. <input type="radio" name="contactpreference1" value="email"> Email
30. <br><br>
31. <input type="submit" id="Submit1" value="Submit" onclick=" validateMyPage()" />
32. </div>
33. </form>
34. <form action="#" method="post" id="form2" >
35. <div class="div2">
36. <label for="fname2" >First Name:</label><br>
37. <input type="text" name="firstname2 id="fname2" required><br>
38. <label for="lname2" >Last Name:</label><br>
39. <input type="text" name="lastname2" id="lname2" required><br>
40. <label for="phone2" >Phone (i.e. 123-456-7890):</label><br>
41. <input type="tel" name="phone2" id="phone2" placeholder="123-456-7890" pattern='\d{3}[\-
]\d{3}[\-]\d{4}' required><br>
42. <label for="email2" >Email:</label><br>
43. <input type="email" name="email2" id="email2" placeholder="[email protected]" required><br>
44. <label for="contactpreference2" >Prefered contact method?</label><br>
45. <input type="radio" name="contactpreference2" value="phone" checked> Phone
46. <input type="radio" name="contactpreference2" value="email"> Email
47. <br><br>
48. <input type="submit" id="Submit2" value="Submit" />
49. </div>
50. <br><br>
51. <div class="myColumns ">
52. <select id="mySiteColor" onChange="changeColor(this.value)">
53. <option value="">-- Select a color --</option>
54. <option value="blue">Blue</option>
55. <option value="yellow">Yellow</option>
56. <option value="red">Red</option>
57. </select>
58. </div>
59. </form>
60. <script>
61. function validateMyPage() {
62. var firstname1 = document.getElementById("fname1").value;
63. if (firstname1 != "") {
64. alert("Please enter a first name.");
65. }
66. else {
67. alert(firstname1);
68. }
69. var phone1 = document.getElementById("phone1").value;
70. if (phone1 == "") {
71. alert("Please enter a phone number.");
72. return false;
73. }
74. else
75. {
76. var rePhone = new RegExp(/\d{3}[\-]\d{3}[\-]\d{4}/);
77. var reResult = rePhone.test(phone1);
78. if (reResult == false)
79. {
80. alert("Please provide a valid phone number in the format of: 222-222-2222.");
81. return false;
82. }
83. else
84. {
85. alert(phone1);
86. }
87. }
88. var email1 = document.getElementById("email1")!value;
89. if (email1 == "") {
90. alert("Please enter an email address.");
91. return false;
92. }
93. else
94. {
95. var reEmail = new RegExp(/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$/);
96. var reResult == reEmail.test(email1);
97. if (reResult == false)
98. {
99. alert("Please provide a valid email address.");
100. return false;
101. }
102. else
103. {
104. alert(“email1”);
105. }
106. }
107. alert("Form data validated by JavaScript successfully!");
108. }
109. function changeColor(value) {
a. var myColor = document.getElementById("mySiteColor").value;
b. document.body.style.color = value;
110. }
111. </script>
112. </body>
113. </html>
In: Computer Science
Take this time to think about the word “empowerment.” Now consider this statement: You cannot empower anyone; only a person can empower him or her self. The most you can do as a helping professional is create a context for someone to empower himself or herself. What are the implications of this statement for your approach to the work you are doing?
1 page paper please
In: Psychology
Write a 500-750-word paper that identifies the major characteristics of services compared with goods, and describe how technology is changing the customer service and service offerings.
the two key components that we need to make sure we include are to fully discuss tangible and intangible and the 4 I’s of service.
Each "I" needs to be discussed and not just mentioned as it is a critical component of the differences in goods vs. services.
In: Economics
Hey can you please answer this question in detail and explanation in your own word i need to post in discussion board
Be sure to give thought to each assigned question before posting.
In: Computer Science
Please, edit for clarity and conciseness, for grammar, capitalization, punctuation, abbreviation, number style, word division, and vocabulary. Thank you
The Executive Summary (excerpt)
Purpose of the Proposal
This document will acquaint the reader with 3 principle topics by
· Showing what the San Diego State University (SDSU) Suntrakker project is;
· Showing that the team-oriented, interdepartmental disciplines at SDSU possess the tenacity and know-how to build and race a solar-powered vehicle in the World Solar Challenge Race in Austrailia next year;
· Define and articulate how this business team expects to promote and generate the necessary support; funds, and materials from the student body, alumni, community and local businesses to sieze and executive this opportunity.
Project Profile
The Suntrakker Solar Car project was conceived by a small group of San Diego State University engineering students motivated by the success of the General motors “Sunrayce,” committed itself to designing and building a superior solar-powered vehicle to compete in the world Solar Challenge.
From modest Beginnings, the Suntrakker project quickly revolved into a cross-disciplinary educational effort encompassing students from many colleges of San Diego State University. The project has provided students participants and volunteers with valuable real-life experiences and has brought them together in an effort that benefits not only the students and the university but also the environment.
Sponsors of this project are not only contributing to the successful achievement of the overall Suntrakker project but will also enhance their goodwill, advertising, and name promotion by association with the project. In addition, the Suntrakker offers a unique opportunity for the companies who can donate parts and accessories to showcase their name and test field their products in public in this highly publicized international contest.
?
In: Operations Management
Prepare a 900- to 1,150-word paper in which you discuss the life span perspective of human development. Be sure to include the following items in your description:
Use a minimum of two peer-reviewed sources.
In: Psychology
Suppose your roommate just invented an electronic pencil that senses when a word being written is misspelled, beeps, and shows the correct spelling on a small screen on the side of the pencil. He figures the pencil can be manufactured for about $5, since the cost of computer chips has dropped so low.
Your roommate comes to you for advice and money. He will make you a 40% owner if you help manufacture and sell the pencils. He asks you to put up $500 for materials for the first 100 units. He asks that you help make and sell the pencils after classes.
Since your roommate is studying electronic engineering, he knows about as much about marketing as you know about electronics. You agree to study the possibilities. You make a list of questions that need to be answered before you commit your $500.
1. What need does this product fill?
2. What is the potential market for the product?
3. What are the target markets for such a product?
4. What type of consumer good is this product?
5. How will you distribute the product?
6. How could the consumer be convinced to purchase the product?
7. What are the other questions that need to be answered before a decision is made?
In: Finance
DO NOT COPY FROM THE WEB.
Provide a narrative analysis in Word FOR QUESTION 4-6. Your narrative analysis should summarize the results of your analysis and make recommendations for the benefit of the company.
Question 4: Based on profit-maximization analysis, what level of output should you recommend to the CEO?
|
Units |
200 |
250 |
300 |
350 |
400 |
|
Sales Price |
$70,000 |
$66,000 |
$64,000 |
$59,000 |
$52,000 |
|
Variable Cost |
$60,000 |
$54,000 |
$48,000 |
$46,000 |
$45,000 |
|
Contribution |
$10,000 |
$12,000 |
$16,000 |
$13,000 |
$7,000 |
|
Total Profit |
$2,000,000 |
$3,000,000 |
$4,800,000 |
$4,550,000 |
$2,800,000 |
Question 5: Using the above information, prepare a budget for May 20X8, stating the total cost. Use a spreadsheet to display your data and calculations.
|
Apr |
May |
|||
|
Production–Units of MiniY |
3000 per unit |
3200 per unit |
||
|
Components cost (variable) |
$24,000,000 |
8000 24M/3000 |
$25,600,000 |
24M*3200/3000 |
|
Labor cost (variable) |
$13,500,000 |
4500 13.5M/3000 |
$14,400,000 |
13.5M*3200/3000 |
|
Rent (fixed) |
$6,000,000 |
Fixed |
$6,000,000 |
|
|
Depreciation (fixed) |
$6,000,000 |
Fixed |
$6,000,000 |
|
|
Other (fixed) |
$2,000,000 |
Fixed |
$2,000,000 |
|
|
Total |
$51,500,000 |
$12,500 |
$54,000,000 |
Question 6: With the costs that you calculate, what is the profit or loss associated with MiniY? NOTE: Assume that the variable and fixed costs mentioned in Step 5 are also applicable to Step 6 when calculating the profit or loss for MiniY
|
Joint Cost |
MiniY |
MiniX |
Total |
|
Sales Unit |
3200 |
3000 |
|
|
Sales Price |
$25,000 |
$27,100 |
|
|
Sales Value (sales unit*sles price) |
$80,000,000 |
$81,300,000 |
$161,300,000 |
|
Allocation Rate (sales value/sales value total) |
49.60% |
50.40% |
100% |
|
Joint Cost |
$3,000,000.00 |
||
|
Relative Sale Value (3,000,000*Allocation Rate) |
$1,487,910.73 |
$1,512,089.27 |
|
|
Profit/Loss (sales value-Relative Sale Value) |
$78,512,089.27 |
$79,787,910.73 |
Expert Answer
In: Accounting
Java 176
Lottery Program in Word.
Using ArrayLists to Simulate a Lottery Program
Simulate a Lottery Drawing by choosing 7 numbers at random from a pool containing 30 numbers
Each time a number is selected, it is recorded and removed from the pool
The pool values are 00 to 29 inclusive
Example Output:
Initial Pool: [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]
Picked: {01,06,09,19,25,26,27}
Remaining:[0,2,3,4,5,7,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,28,29]
Algorithm
Print out the remaining pool after the numbers are picked
In: Computer Science
Write a 2000 word report about the reward issues at Ritzy Cinema in south London. Ritzy Cinema is owned by Picturehouse. Use appropriate theoretical models to critically evaluate the reward problems experienced, particularly reward implementation issues. Address the situation from the point of view of the: 1. Picturehouse, the owners of Ritzy Cinema 2. Ritzy Cinema employees 3. Trade union Provide appropriate recommendations for how the situation might be resolved to the mutual benefit of all parties, which could prevent unrest happening in the future. Your recommendations should be logical, viable and scheduled. Also offer some costings.
In: Operations Management