Skip to content

Personal website in vanilla JS made to resemble a chat session. The avatar shares my details and provides links and minimal interaction in response to user inputs.

Notifications You must be signed in to change notification settings

mlorberdev/Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal Website

Deployed here

Description

Personal website in vanilla JS made to resemble a chat session. The avatar shares my details and provides links and minimal interaction in response to user inputs.

Code Excerpt

  • Coded in vanilla JS ES6
// SPLICE A RESPONSE INTO AVATAR TEXTS ARRAY IN RESPONSE to USER MESSAGE input event
function reply(x) {
  setTimeout(() => {
    replies.length === 0 ? replies[0] = `*Send me that xxxxx via email`.replace("xxxxx", x) : replies[0] = replies[0].toString().replace("xxxxx", x);
    if (texts.length === 0) setTimeout(message, 2500);
    texts.splice(0, 0, replies[0]);
    replies.splice(0, 1);
  }, 2000);
}

Screenshots

Mobile

Mobile

Desktop

Desktop

Stats Page

Stats Page

License

CC BY 4.0

About

Personal website in vanilla JS made to resemble a chat session. The avatar shares my details and provides links and minimal interaction in response to user inputs.

Resources

Stars

Watchers

Forks