0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Muffin really liked the way you completed the assignment for the candy store. He is in a hurry to assign you a new task. This time you will need to write code for a handmade toy store. Here are the exact assignment specifications from the Boss.</p>
1
<p>Muffin really liked the way you completed the assignment for the candy store. He is in a hurry to assign you a new task. This time you will need to write code for a handmade toy store. Here are the exact assignment specifications from the Boss.</p>
2
<blockquote><p>Meow! You have been asked to program the user interaction.</p>
2
<blockquote><p>Meow! You have been asked to program the user interaction.</p>
3
<p>The markup contains a popup (popup class).</p>
3
<p>The markup contains a popup (popup class).</p>
4
<p>When the user clicks on the “Display details” button (button-show class), it should show the window on the page. The popup--open class should appear for the popup.</p>
4
<p>When the user clicks on the “Display details” button (button-show class), it should show the window on the page. The popup--open class should appear for the popup.</p>
5
<p>If the user clicks on the “X” in the popup body (with the button-hide class), then the window should disappear from the page. To do this, you need to delete the popup--open class from the popup.</p>
5
<p>If the user clicks on the “X” in the popup body (with the button-hide class), then the window should disappear from the page. To do this, you need to delete the popup--open class from the popup.</p>
6
<p>In addition, if the window is on the page and the user presses the ESC key, the popup should also disappear. The<b>only</b>action that should trigger the window to be closed is pressing this key. Pressing any other keys should not affect the position on the popup window.</p>
6
<p>In addition, if the window is on the page and the user presses the ESC key, the popup should also disappear. The<b>only</b>action that should trigger the window to be closed is pressing this key. Pressing any other keys should not affect the position on the popup window.</p>
7
<p>And do not forget that the “Show details” button has been coded as a link. Don’t forget to disable this link from working.</p>
7
<p>And do not forget that the “Show details” button has been coded as a link. Don’t forget to disable this link from working.</p>
8
<p>I look forward to the finished project!</p>
8
<p>I look forward to the finished project!</p>
9
</blockquote><p>When you are ready, press Boss, here’s your program! to show what you have done to Muffin.</p>
9
</blockquote><p>When you are ready, press Boss, here’s your program! to show what you have done to Muffin.</p>