Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated hex-color code #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Topics/02. HTML-Fundamentals/demos/03.Common-elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h6>Sub heading 6</h6>
<dt>HTML</dt>
<dd>A markup language</dd>
<dt>CSS</dt>
<dd>Language used to</dd>
<dd>Language used to design HTML pages</dd>
</dl>
</body>
</html>
19 changes: 13 additions & 6 deletions Topics/03. HTML-Tables/demos/2. Data-and-header-cells.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,44 @@
<table>
<tr>
<th>Full name</th>
<th>Review</th>
<th>Mark</th>
</tr>

<tr>
<td>Ivan Ivanov</td>
<td>Very good 5</td>
<td>Very good</td>
<td> 5</td>
</tr>

<tr>
<td>Petar Petrov</td>
<td>Exellent 6</td>
<td>Exellent</td>
<td>6</td>
</tr>

<tr>
<td>Filip Filipov</td>
<td>Good 4</td>
<td>Good</td>
<td>4</td>
</tr>

<tr>
<td>Stoian Georgiev</td>
<td>Very good 5</td>
<td>Very good</td>
<td>5</td>
</tr>

<tr>
<td>Asen Asenov</td>
<td>Good 4</td>
<td>Good</td>
<td>4</td>
</tr>

<tr>
<td>Zdravko Jeliazkov</td>
<td>Poor 3</td>
<td>Poor</td>
<td>3</td>
</tr>
</table>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
colorDiv.style.backgroundColor = newColor;

var colorValuesDiv = document.getElementById(type + 'ColorValueDiv');
colorValuesDiv.innerText = newColor;
colorValuesDiv.innerHTML = newColor;
}
</script>
</head>
Expand Down Expand Up @@ -72,4 +72,4 @@
</form>
</body>

</html>
</html>