Knowledgebase: 1) FrogLearn > Widgets
Code Viewer Widget
Posted by Syed Basit, Last modified by Tom Keegan on 23 April 2019 10:15 AM

Code Viewer:


The Code Viewer allows you to display:
• HTML
• Javascript
• PHP
• Or Python


The code displayed will automatically colour based on the language selected and
provides linting assistance to automatically add closing tags, quotations and highlight
errors.


To input some code, click the Edit Code button in the Edit Panel


The widget only displays code, it does not run the code. If you wish to demonstrate
your programming, then the HTML widget can run HTML, CSS and Javascript.


The widget can have a title set in the Edit Panel, which can be useful for highlighting
steps or different elements

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).