-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
16 lines (16 loc) · 993 Bytes
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<h2>The housing problem</h2>
<html>
<head></head>
<body>
<p>The code below defines the class <strong>House</strong> and an object of that class. However, the code is somewhat incorrect. Fix the mistakes but do NOT change variable or attribute names (they are necessary for checking).</p>
<p><button class="btn-sm btn-outline-secondary" onclick="getElementById('hint-235').style.display='inline'"> Hint </button> </p>
<div id="hint-235" style="display:none;">
Pay attention to the keyword and class object creation (check how objects of similar classes have been defined in the theory).
</div>
<p></p>
</body>
</html><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 15 seconds</font><br><br>
<b>Caution</b><br><br>
You may see errors in your code or execution results due to missing context. Don’t worry about it, just write the solution and press Check.
<br><br>
<a href="https://hyperskill.org/learn/step/6661">Show topic summary</a>