What technologies am I working with?
I am currently using React and CSS modules in my development
Greetings! I am in the process of creating a website for a Portfolio Terminal
I have a vision to incorporate a feature where users can simulate creating a new line, similar to how terminals operate. When Enter is pressed in the terminal, it generates a new line like this: Terminal New Line Image
However, I have encountered an issue where after pressing enter and attempting another command, it fails to execute the command
I hope that explanation was clear enough
Below is the JSX code snippet:
// JS code here...
// Import statements and component definition
export default TerminalPage;
And if necessary, here are the associated styles:
:root {
--main-text-color: #a16b56;
--text-input-color: #73abad;
--main-color: #e2d7a7;
--text-url-hover: #1a4645;
--text-url-color: #f8bc24;
--user-text-color: rgb(81, 153, 117);
}
/* CSS styles go here... */
.commandBlock {
background-color: var(--main-color);
padding: 10px;
border-radius: 5px;
margin-bottom: 5px;
color: var(--text-input-color);
font-size: 1rem;
font-weight: bold;
text-shadow: 0 0 5px rgba(115, 171, 173, 0.5),
0 0 10px rgba(115, 171, 173, 0.5), 0 0 15px rgba(115, 171, 173, 0.5);
}