VirtualMV/CSS/HelpDesk - Interactive

From WikiEducator
< VirtualMV‎ | CSS
Jump to: navigation, search



Overview

This page can be used in a group situation to discuss problems that can occur when coding. The problem is presented and after discussion a potential solution can be revealed.

Instructions

On this page you can post some JavaScript code that you are having trouble with.

  • Please keep the code "simple" concentrating on the problem ... not a lot of code with a "small" problem.
  • Post a tweet including the #vmvwiki tag so that we know there is a problem waiting to be solved.
  • Paste the following wiki code when you edit, and put your code where shown.

{{vmv:Source|<source lang="javascript">
Code in here
</source>}}

Problem 1: A style doesn't want to be applied

You have created the following web page

<head>
 <title>Style sheet example 01</title>
 <style>
  bkcolour {color:red};
 </style>
 </head>
 <body>
 <h1 class = "bkcolour">This text is in red</h1>
 </body>

however, the text remains black!.

Problem 2: A style doesn't want to be applied in an innerHTML

You have created the following web page

  h1         { color: #FF0000; };
  h5         { color: #0000FF; };

however, the text remains black!.

VmvIcon References.png References

virtualMV  |  Superquick wiki guide  |  Please give me some feedback

VirtualMV/CSS/HelpDesk - Interactive. (2017). In WikiEducator/VirtualMV wiki. Retrieved November 22, 2017, from http://wikieducator.org/VirtualMV/CSS/HelpDesk_-_Interactive    (zotero)