Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Read Me How to post your code into threads

Malcolm

Administrator
Administrator
Staff Team
Code Plus
Company Plus
Hello Coders!

It has brought to my attention that some members are puzzled on how to add code into their thread. Adding code to your thread using the proper channels helps make your code easier to understand, and helps others find solutions to problems quicker. In this thread, I'll give you a step by step guide with a gif on how to add code to your thread.

First, understand the different options to post your code. On CodeForum, there are two ways of displaying your code; Inserting multiple lines of code and inserting single-line snippets of code. Examples are shown below:

Example:

Single Line Code:​
<p>Welcome to Hello World!</p>
Multiple Line Code:​
Code:
<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>

  </head>
  <body style="background-color: purple;">
    <h1 style="color: red,font-size: 16px;">test</h1>
      <p>Welcome to Hello World!</p>

      <a href="https://codeforum.org/">CodeForum.ORG</a>
<h2 style="color: pink;"> Table </h2>
    <table>
      <tr>
        <td>Favourite food</td>
        <td>Favourite book</td>
      </tr>
      <tr>
        <td>Apple</td>
        <td>HTML&CSS</td>
      </tr>
    </table>

<h3 style="color:eek:range;">Ordered List</h3>

    <ol>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
    </ol>
<h4 style="color: blue;"> Unordered list</h4>
    <ul>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
      <li>Ordered list.</li>
    </ul>

  </body>
</html>

Single line code:
  1. On the editor toolbar, Click the three-round dot icon.
  2. Select >_ Inline Code.
  3. Next, a BBCode ICODE will appear.
  4. Place your single line code between the tags.
Multi-line code:
  1. On the editor toolbar, Click the three-round dot icon.
  2. Select </> Code.
  3. Next, a prompt will appear.
    • Screenshot_1.png
  4. Fill out the fields and the type of code if required.
  5. Then place/write your code in the large text area and click continue.

Animated GIF-downsized_large.gif
 
Last edited:
Great tutorial. I wanted to add if your too lazy to open it up in the editor you can wrap one line code in [ ICODE ] code here [ /ICODE ] tags and for multi-line code in [ CODE ] code here [ /CODE ] tags without the spaces

Also you can add the code language your using in multi-line code tags like this:

[ CODE=html ] code here [ /CODE ]

Simply (without spaces in the tags) replace html with your desired coding language. 😀
 
Hello everyone! Changes have been made to the toolbar. You can now just access the BB Code for code directly from the editor, rather than clicking (...) and selecting it via drop down.
 
I don't still get. The only three dots I can see here is only giving me the screenshot below which I can not see anything like BB code as explained in this thread.Screenshot_20200709-195632.png
 
I don't still get. The only three dots I can see here is only giving me the screenshot below which I can not see anything like BB code as explained in this thread.View attachment 416
  1. [UWSL][UWSL][UWSL]On the editor toolbar, [UWSL][UWSL][UWSL]Click the three-round dot icon.[/UWSL][/UWSL][/UWSL][/UWSL][/UWSL][/UWSL]
  2. Select </> Code.
  3. Next, a prompt will appear.
    • Screenshot_1.png
  4. Fill out the fields and the type of code if required.
  5. Then place/write your code in the large text area and click continue.
As you can see, @Master Yoda has crossed-out the option for using the ellipsis icon. There is now a separate button that you use, being: "</>"

You use that now. Also, if you do have a computer available at hand, please use that instead. It's extremely difficult trying to write code on mobile, plus, forums aren't designed for mobile anyway. I know that you are from Nigeria(As stated in your introductory post), which is one of the many poor countries in the world. So, if possible, look into buying a cheap computer from a site like eBay if you can, or if you have a local library, check to see if they have computers available to use(Be sure to log-out of your account though before you leave the library).
 
Thread has been updated. Thread now includes of gif of instructions. Hope this helps!
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom