# Lesson 7: User Input & Strings

**URL:** <https://forum.code.org/t/lesson-7-user-input-strings/39085>\
**Category:** Uncategorized\
**Created:** [February 29, 2024, 4:54pm UTC](https://forum.code.org/t/lesson-7-user-input-strings/39085 "2024-02-29T16:54:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![librarian1](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@librarian1](https://forum.code.org/u/librarian1)\
**Post date:** [February 29, 2024, 4:54pm UTC](https://forum.code.org/t/lesson-7-user-input-strings/39085/1 "2024-02-29T16:54:04Z")

</div>

I have student creating an app in Lesson 7: User Input and Strings but the code is not working correctly. When he inputs the information into the app the next screen displays the wording all jumbled. Do you know what he needs to fix in his code to correct this? You can view his app [here](https://studio.code.org/projects/applab/bBQEeyuRzEeQJmYtPQG8_EaLG7J-iiusEp-BQ4NjKms).

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [February 29, 2024, 8:42pm UTC](https://forum.code.org/t/lesson-7-user-input-strings/39085/2 "2024-02-29T20:42:11Z")

</div>

I don’t know what screen element is being used to display the results. Use a label. I tried using a label and setting the text of the label to “userMessage”, the new line characters are working. However, I think the new line characters are not placed correctly.

---

<div class="post-metadata">

**Author:** ![librarian1](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@librarian1](https://forum.code.org/u/librarian1)\
**Post date:** [March 1, 2024, 6:26pm UTC](https://forum.code.org/t/lesson-7-user-input-strings/39085/3 "2024-03-01T18:26:07Z")

</div>

Thanks! Is it possible to share what your code looks like?

---

<div class="post-metadata">

**Author:** ![bhatnagars](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bhatnagars/32/4919_2.png) [@bhatnagars](https://forum.code.org/u/bhatnagars)\
**Post date:** [March 1, 2024, 7:08pm UTC](https://forum.code.org/t/lesson-7-user-input-strings/39085/4 "2024-03-01T19:08:28Z")

</div>

I did not change the code. I just removed the screen element that you had on screen 2 and replaced it with a label element. Here is the link to [my project](https://studio.code.org/projects/applab/TjTM_aL-w6IyitqSaqTXZaxb_4n79PUyr-AVZjNYdmA).
