How to develop an HTML and JS source code viewer using PHP

CharlesTechy
2 min readJan 6, 2022
Reference: Seonorth

What is a source code?

A source code (also referred to as source or code) is the version of software as it is originally written (i.e., typed into a computer) by a human in plain text (i.e., human readable alphanumeric characters). … For the purpose of clarity “source code” is taken to mean any fully executable description of a software system.

Reference: Wikipedia

Example of a Java program source code?

public class SourceCode {public static void main(String [] args) {System.out.println(“This is a java source code”);}}

Before we dive into writing our PHP Program to check HTML and JS source code, we would consider some requirements.

  1. Mamp or Xampp, Lampp, Wamp, Ampp depending on your OS(Operating System).
  2. A text editor Vs code or Atom preferably or any text-editor your are compatible with.
  3. Bootstrap or pure css to beautify our program.

What is Mamp?

MAMP is a free, local server environment that can be installed under macOS and Windows with just a few clicks.

--

--

CharlesTechy
CharlesTechy

Written by CharlesTechy

Hi am CharlesTechy a Full Stack developer | Content Creator | Edu Coach

No responses yet