Text Area transparent


#1

I have tried to remove the text area( frame, border, shadow) not sure what it is called with the “none”
Is there a way to make a text area just show the text without the border.
Building Apps Lesson 3 #4

setProperty(“text_area2”,“background-color”, rgb(245, 163, 194),“border”, “none”, “!important”,“box-shadow”,“none”);
onEvent(“Saladstartbutton”, “click”, function(event) {
console.log(“SaladButtontoscreen2 clicked!”);
setScreen(“Food1”);
});
onEvent(“NextButton”, “click”, function(event) {
console.log(“NextButton clicked!”);
setScreen(“Food2”);
});
onEvent(“HomeButton”, “click”, function(event) {
console.log(“HomeButton clicked!”);
setScreen(“Home”);
});

thank you
Lindy


#2

Hi @mmgraham,

Did you need the feature where the user can type something into the text area? If you need just some words displayed, try using the “Label” element instead of text area. If you do need a space for the user to type something, then there’s no way to get rid of the lines of the text area, since I believe they’re there to indicate to the user the box is for input.

Frank


#3

Thank you so much for explaining the difference. Students just need text so we will use the label instead.