how do I turn a textarea input into a js variable [closed] - javascript

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
I'm trying to turn a textarea into a js variable.
This is my textarea:
<textarea id="codeInput" placeholder="Enter your code here" style="width: 1495px; font-size: 40px; height: 400px;"></textarea>

Related

How to use foreach method in javascript [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 days ago.
Improve this question
what should I write inside the function?
`array.forEach(function(item){
})`
try to insert data to array

Input Field not Accepting Input [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 days ago.
Improve this question
I have a problem where when I try to edit an input box, the input box just will not accept my input.
JsFiddle:
https://jsfiddle.net/Michael_Chen/9h21Lsv5/241/
I've tried
input {
z-index: 9999;
}
also, when I remove my js it works again. It seems that accessing the .value of the input caused the problem, but I'm not sure.

Why am i able to add multiple images in html? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
enter image description here
I don't know why i am not able to insert multiple images in html but I do get multiple images in console.log

Is there a way of making uncobyable text in HTML5? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I need a way of making a HTML5 code that can make text that can't be copied, can someone help me?
If you want the user to be unable to mark and copy text, you can use pseudo elements:
div[data-text]::before {
content: attr(data-text);
}
<div data-text="Uncopyable without hacking"></div>

How can I use defmacro in Javascript? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How can I use defmacro in Javascript?
defmacro ()?
Or, some other formats?
You just cannot.
Javascript is not Lisp

Categories