Terminal Resume - Vijay Pancholi

by Vijay Pancholi

HTML

<link rel="stylesheet" href="style.css" />

  <div class="terminal" id="terminal">
    <div class="output" id="output"></div>
    <div class="input-line">
      <span class="prompt">$</span>
      <input type="text" id="commandInput" placeholder="Type commands like about, education, experience, skills , projects, social_links , contact , clear , help, etc." autofocus autocomplete="off"/>
    </div>
  </div>

CSS

body {
  margin: 0;
  background: #000;
  color: #33ff33;
  font-family: 'Courier New', Courier, monospace;
  height: 100vh;
  overflow: hidden;
}

.terminal {
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
}

.output {
  white-space: pre-wrap;
  margin-bottom: 10px;
}

.input-line {
  display: flex;
  align-items: center;
}

.prompt {
  margin-right: 5px;
}

#commandInput {
  background: transparent;
  border: none;
  color: #33ff33;
  font-family: inherit;
  font-size: 1em;
  width: 100%;
  outline: none;
}

::selection {
  background: #33ff33;
  color: #000;
}

@media screen and (max-width: 600px) {
  .terminal {
    padding: 10px;
  }
}

JavaScript

const output = document.getElementById("output");
const input = document.getElementById("commandInput");
const terminal = document.getElementById("terminal");

const commands = {
  help: `Available commands:
  about
  education
  experience
  skills
  projects
  social_links
  contact
  clear
  `,
  about: `Hi, I'm Vijay Pancholi.
I'm a full-stack developer focused on fueled by creativity, driven by code. Design is my canvas, development my playground.`,

  education: `BE in Information Technology - Shri vaishnav insitute of management & science
(2012 - 2016)`,

  experience: `Senior Software Engineer at Zehntech (2021 - Present)
- Developed SEO-optimized WordPress and Odoo modules
- Built dynamic frontends using JS, HTML, and CSS`,

  skills: `Languages: Angular , Wordpress , Laravel , JavaScript, Python, HTML, CSS , ODOO Addon
Tools: Odoo, Git, Postman , Jira , Jenkins
Soft Skills: OpenAPI AI , ChatGPT API`,

  projects: `Terminal Resume Vijay Pancholi  - https://jsfiddle.net/vijaypancholi2626/3kexvp75/11/
Gyatagpt - Live Chat Wordpress Shopping
Odoo App - Odoo Excel Connector , Excel Report Designer`,
 
social_links: `Wordpress StackExchange  - https://wordpress.stackexchange.com/users/138464/vijay-pancholi
Linkedin - https://in.linkedin.com/in/vijay-pancholi-44b98895
Codepen - https://codepen.io/vijay-pancholi/pens
Jsfiddle - https://jsfiddle.net/u/vijaypancholi2626/fiddles/`,


  contact: `Email: [email protected]
GitHub: github.com/vijay
LinkedIn: linkedin.com/in/vijaypancholi`,

  clear: 'clear',
};

function printLine(text = "") {
  const line = document.createElement("div");
  line.textContent = `$ ${input.value}`;
  output.appendChild(line);

  if (text !== 'clear') {
    const response = document.createElement("div");
    response.textContent = text;
    output.appendChild(response);
  } else {
    output.innerHTML = '';
  }

  terminal.scrollTop =...