# CS Principles

**URL:** https://forum.code.org/c/csp/12.md?page=7

[Latest](https://forum.code.org/latest.md) · [Categories](https://forum.code.org/categories.md) · [Tags](https://forum.code.org/tags.md)

**Page:** 8

---

## [U6 L9 (Build a Playlist) - Why removing after 5 items?](https://forum.code.org/t/u6-l9-build-a-playlist-why-removing-after-5-items/40034)

<div class="topic-metadata">

**Author:** [@dhust](https://forum.code.org/u/dhust)\
**Replies:** 3\
**Last updated:** [November 14, 2024, 2:11am UTC](https://forum.code.org/t/u6-l9-build-a-playlist-why-removing-after-5-items/40034 "2024-11-14T02:11:19Z")

</div>

Not sure why they are thinking the list could be bigger than 5. The add a favorite button disappears at 5. Am I missing something?? Remove the last item in the favorites list if the length is greater than or equal to 5 …

---

## [Can I skip Unit 1 Lesson 2 and 3 for Comp Sci Principles?](https://forum.code.org/t/can-i-skip-unit-1-lesson-2-and-3-for-comp-sci-principles/39714)

<div class="topic-metadata">

**Author:** [@lkadiku](https://forum.code.org/u/lkadiku)\
**Replies:** 3\
**Last updated:** [November 12, 2024, 10:15pm UTC](https://forum.code.org/t/can-i-skip-unit-1-lesson-2-and-3-for-comp-sci-principles/39714 "2024-11-12T22:15:53Z")

</div>

I’m looking at my school calendar and there isn’t enough time to go through all this material. Unit 1 Lessons 2 and 3 seem to be prepping kids for the binary numbers. I feel like I can just jump straight into binary numb…

---

## [Unit 6 - Lists, Loops, and Traversals ('24-'25) Lesson 3](https://forum.code.org/t/unit-6-lists-loops-and-traversals-24-25-lesson-3/40072)

<div class="topic-metadata">

**Author:** [@rona\_williams](https://forum.code.org/u/rona_williams)\
**Replies:** 4\
**Last updated:** [November 7, 2024, 6:27pm UTC](https://forum.code.org/t/unit-6-lists-loops-and-traversals-24-25-lesson-3/40072 "2024-11-07T18:27:57Z")

</div>

Does anyone have or know where the solutions are to the 3 apps in this lesson?

---

## [Unit 6 Lesson 13 "Hackathon"](https://forum.code.org/t/unit-6-lesson-13-hackathon/40063)

<div class="topic-metadata">

**Author:** [@darrin.patterson](https://forum.code.org/u/darrin.patterson)\
**Replies:** 4\
**Last updated:** [November 6, 2024, 8:25pm UTC](https://forum.code.org/t/unit-6-lesson-13-hackathon/40063 "2024-11-06T20:25:24Z")

</div>

I have a student who is trying to use code from another app which already works, and adapt it to his own. However, the results are blank. Where is he going wrong? There are no discernible errors showing in the code, so i…

---

## [Features suggestions for AppLab to make it AI Resistant](https://forum.code.org/t/features-suggestions-for-applab-to-make-it-ai-resistant/40051)

<div class="topic-metadata">

**Author:** [@jwoodward1](https://forum.code.org/u/jwoodward1)\
**Replies:** 1\
**Last updated:** [November 4, 2024, 4:32am UTC](https://forum.code.org/t/features-suggestions-for-applab-to-make-it-ai-resistant/40051 "2024-11-04T04:32:05Z")

</div>

ChatGPT is capable of giving code.org app lab JavaScript subset answers, and students are sure to use it to solve the problems. While preventing use of AI is impossible, I have a couple of feature suggestions: A checkb…

---

## [Unit 6 Lesson 12 Forecaster App CSP '24-'25](https://forum.code.org/t/unit-6-lesson-12-forecaster-app-csp-24-25/40039)

<div class="topic-metadata">

**Author:** [@darrin.patterson](https://forum.code.org/u/darrin.patterson)\
**Replies:** 2\
**Last updated:** [October 31, 2024, 12:41pm UTC](https://forum.code.org/t/unit-6-lesson-12-forecaster-app-csp-24-25/40039 "2024-10-31T12:41:37Z")

</div>

What are we doing wrong? Here is the link: What specific mistake(s) are we making? We get warning: setText() text parameter value undefined is not a uistring. Error TypeError: Cannot read properties of undefined (rea…

---

## [Gathering a Name from data to filter it into a new list](https://forum.code.org/t/gathering-a-name-from-data-to-filter-it-into-a-new-list/40037)

<div class="topic-metadata">

**Author:** [@johnathan.locklear](https://forum.code.org/u/johnathan.locklear)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 12:23pm UTC](https://forum.code.org/t/gathering-a-name-from-data-to-filter-it-into-a-new-list/40037 "2024-10-31T12:23:12Z")

</div>

My students are accessing data and filtering the data. We want to access the data (which we know how to do), go through each line of the data (which we know how to do), and filter the data based on the name associated un…

---

## [Unit 3 and Unit 5 coding answers on YouTube](https://forum.code.org/t/unit-3-and-unit-5-coding-answers-on-youtube/31934)

<div class="topic-metadata">

**Author:** [@carole\_black](https://forum.code.org/u/carole_black)\
**Replies:** 5\
**Last updated:** [October 28, 2024, 4:25am UTC](https://forum.code.org/t/unit-3-and-unit-5-coding-answers-on-youtube/31934 "2024-10-28T04:25:33Z")

</div>

This is my 4th year to teach AP Computer Science Principles using the excellent code.org curriculum. This is the first year I have discovered students turning in code in Units 3 and 5 that is identical to the exemplar c…

---

## [Creating a Timer or Score Keeping function in the games](https://forum.code.org/t/creating-a-timer-or-score-keeping-function-in-the-games/26094)

<div class="topic-metadata">

**Author:** [@geri\_hamada](https://forum.code.org/u/geri_hamada)\
**Replies:** 15\
**Last updated:** [October 23, 2024, 5:03pm UTC](https://forum.code.org/t/creating-a-timer-or-score-keeping-function-in-the-games/26094 "2024-10-23T17:03:34Z")

</div>

Does anyone know how to create a timer or score keeping function in the sprite lab, app lab or game lab? We have been looking around and don’t seem to find the answer.

---

## [Stress greatly increased by lack of features](https://forum.code.org/t/stress-greatly-increased-by-lack-of-features/39999)

<div class="topic-metadata">

**Author:** [@dhust](https://forum.code.org/u/dhust)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 5:10am UTC](https://forum.code.org/t/stress-greatly-increased-by-lack-of-features/39999 "2024-10-23T05:10:27Z")

</div>

Not having the ability to assign and un-assign (hide) assessments in App Lab greatly increases my stress. I make apps (tests), which are templates I give students, and students complete the app. I have three classes. If…

---

## [Kids have lost their code in Unit 4 L12 Project](https://forum.code.org/t/kids-have-lost-their-code-in-unit-4-l12-project/39980)

<div class="topic-metadata">

**Author:** [@hickmanpt](https://forum.code.org/u/hickmanpt)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 3:11pm UTC](https://forum.code.org/t/kids-have-lost-their-code-in-unit-4-l12-project/39980 "2024-10-17T15:11:18Z")

</div>

I have a group of boys who logged into their code.org today and all their code on this project has disappeared. They were almost done. They have tried to restore the version but nothing please advise.

---

## [App lab how to make a slider?](https://forum.code.org/t/app-lab-how-to-make-a-slider/15989)

<div class="topic-metadata">

**Author:** [@rfarnay](https://forum.code.org/u/rfarnay)\
**Replies:** 8\
**Last updated:** [October 16, 2024, 11:38am UTC](https://forum.code.org/t/app-lab-how-to-make-a-slider/15989 "2024-10-16T11:38:48Z")

</div>

How do I make a slider on the screen, so I can drag between two variables?

---

## [Review for Tests](https://forum.code.org/t/review-for-tests/39853)

<div class="topic-metadata">

**Author:** [@mcullen03](https://forum.code.org/u/mcullen03)\
**Replies:** 3\
**Last updated:** [October 13, 2024, 1:46pm UTC](https://forum.code.org/t/review-for-tests/39853 "2024-10-13T13:46:22Z")

</div>

What do people do to review for the Unit Assessments?

---

## [Unit 4 Lesson 1 - variables explore teaching tips](https://forum.code.org/t/unit-4-lesson-1-variables-explore-teaching-tips/39952)

<div class="topic-metadata">

**Author:** [@bijal.patel](https://forum.code.org/u/bijal.patel)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 3:42am UTC](https://forum.code.org/t/unit-4-lesson-1-variables-explore-teaching-tips/39952 "2024-10-10T03:42:48Z")

</div>

Looking for tips on how to keep the students engaged. Every year I teach this lesson I have such a variety of students who either get it right away and are bored and a group that doesn’t understand and immediately diseng…

---

## [Code.org + UPchieve Tutoring Pilot](https://forum.code.org/t/code-org-upchieve-tutoring-pilot/39940)

<div class="topic-metadata">

**Author:** [@erik\_dillaman](https://forum.code.org/u/erik_dillaman)\
**Replies:** 0\
**Last updated:** [October 8, 2024, 1:47pm UTC](https://forum.code.org/t/code-org-upchieve-tutoring-pilot/39940 "2024-10-08T13:47:49Z")

</div>

We are thrilled that we are partnering with UPchieve to pilot computer science tutoring services for AP CSP students! This pilot offers a unique opportunity for you and your students to access additional educational reso…

---

## [CSP Unit 2 project - different topics](https://forum.code.org/t/csp-unit-2-project-different-topics/39937)

<div class="topic-metadata">

**Author:** [@katy.fleming](https://forum.code.org/u/katy.fleming)\
**Replies:** 0\
**Last updated:** [October 7, 2024, 3:49pm UTC](https://forum.code.org/t/csp-unit-2-project-different-topics/39937 "2024-10-07T15:49:18Z")

</div>

Hello! I’ve noticed the topic of ‘net neutrality’ has gone by the wayside nowadays, and I was wondering if anyone else has chosen a different internet dilemma to replace it. Maybe something around AI? Or does anyone el…

---

## [Virtual learning platform](https://forum.code.org/t/virtual-learning-platform/33343)

<div class="topic-metadata">

**Author:** [@hvissia](https://forum.code.org/u/hvissia)\
**Replies:** 11\
**Last updated:** [October 7, 2024, 2:34pm UTC](https://forum.code.org/t/virtual-learning-platform/33343 "2024-10-07T14:34:07Z")

</div>

Hello. I have yet to start my class (which is stressing me out). I have been told that I must teach all virtual. I greatly appreciate the options that Code.org has offered. This is only my 2nd year teaching AP CSP. I…

---

## [Embed Video or link to Youtube Video on App Lab Project](https://forum.code.org/t/embed-video-or-link-to-youtube-video-on-app-lab-project/11958)

<div class="topic-metadata">

**Author:** [@awei](https://forum.code.org/u/awei)\
**Replies:** 26\
**Last updated:** [October 7, 2024, 3:44am UTC](https://forum.code.org/t/embed-video-or-link-to-youtube-video-on-app-lab-project/11958 "2024-10-07T03:44:20Z")

</div>

My students asked me if they can embed youtube video or make a link to youtube…Is it possible? Thanks a lot.

---

## [This one is weird](https://forum.code.org/t/this-one-is-weird/39930)

<div class="topic-metadata">

**Author:** [@darrin.patterson](https://forum.code.org/u/darrin.patterson)\
**Replies:** 3\
**Last updated:** [October 5, 2024, 4:47pm UTC](https://forum.code.org/t/this-one-is-weird/39930 "2024-10-05T16:47:50Z")

</div>

Two students, pair programming, basically same app and code. One shows output, the other doesn’t. I am stumped at the moment why. Again, Unit 4 Lesson 12 Decision Maker. This one works: This one doesn’t: What am I m…

---

## [Student App Issue](https://forum.code.org/t/student-app-issue/39929)

<div class="topic-metadata">

**Author:** [@darrin.patterson](https://forum.code.org/u/darrin.patterson)\
**Replies:** 3\
**Last updated:** [October 5, 2024, 4:46pm UTC](https://forum.code.org/t/student-app-issue/39929 "2024-10-05T16:46:36Z")

</div>

For some reason that is beyond me, the pricing is not showing correctly in this decision maker app. Please advise. It is from Unit 4 Lesson 12 and I want to help him figure it out. Thank you in advance.

---

## [Student that does not have computer access](https://forum.code.org/t/student-that-does-not-have-computer-access/39925)

<div class="topic-metadata">

**Author:** [@susanharrison](https://forum.code.org/u/susanharrison)\
**Replies:** 1\
**Last updated:** [October 3, 2024, 4:08pm UTC](https://forum.code.org/t/student-that-does-not-have-computer-access/39925 "2024-10-03T16:08:08Z")

</div>

Good Morning, I have a student that has loss computer privilege’s in CSP and CSA any help taking these two courses offline would be greatly appreciated. We are just finishing Unit 1 getting ready to start unit 2. Any …

---

## [Grading Individual Lessons](https://forum.code.org/t/grading-individual-lessons/37287)

<div class="topic-metadata">

**Author:** [@jgregory](https://forum.code.org/u/jgregory)\
**Replies:** 6\
**Last updated:** [October 3, 2024, 12:31pm UTC](https://forum.code.org/t/grading-individual-lessons/37287 "2024-10-03T12:31:56Z")

</div>

So we’ve been trucking along here in our first year of teaching this course. I was wondering what other teachers do for grading? What I mainly grade are the end-of-unit projects and the unit assessments, but I want to kn…

---

## [Can the projects I have in the "Projects" area be organized in different ways?](https://forum.code.org/t/can-the-projects-i-have-in-the-projects-area-be-organized-in-different-ways/39923)

<div class="topic-metadata">

**Author:** [@bridget\_dycus](https://forum.code.org/u/bridget_dycus)\
**Replies:** 1\
**Last updated:** [October 3, 2024, 1:46am UTC](https://forum.code.org/t/can-the-projects-i-have-in-the-projects-area-be-organized-in-different-ways/39923 "2024-10-03T01:46:48Z")

</div>

I have remixed and saved some student samples over the years and have many projects of my own. I was hoping to organize them. Is there a way to make folders or drag and drop them to a new order than what is listed. A fea…

---

## [School starting after Labor Day -- enough time?](https://forum.code.org/t/school-starting-after-labor-day-enough-time/38291)

<div class="topic-metadata">

**Author:** [@eoften](https://forum.code.org/u/eoften)\
**Replies:** 3\
**Last updated:** [September 30, 2024, 6:42pm UTC](https://forum.code.org/t/school-starting-after-labor-day-enough-time/38291 "2024-09-30T18:42:59Z")

</div>

Hi there, I’m in my first year of teaching AP CSP, and we are starting after Labor Day (9/7). Our school is on a rotating schedule and I see students 4/6 days for 65 minutes each class. Most of my students have progra…

---

## [Combining Lessons to Make Them Longer](https://forum.code.org/t/combining-lessons-to-make-them-longer/39910)

<div class="topic-metadata">

**Author:** [@luke.grossnicklaus](https://forum.code.org/u/luke.grossnicklaus)\
**Replies:** 1\
**Last updated:** [September 30, 2024, 5:55pm UTC](https://forum.code.org/t/combining-lessons-to-make-them-longer/39910 "2024-09-30T17:55:48Z")

</div>

Hello, This is my first year using CSP with a class of high school sophomores. My class periods are 48 minutes long, but I’m finding that my students are accomplishing tasks a lot faster than the lesson plans have them …

---

## [CSP Unit 3 Project - Submission](https://forum.code.org/t/csp-unit-3-project-submission/39888)

<div class="topic-metadata">

**Author:** [@ewhite2](https://forum.code.org/u/ewhite2)\
**Replies:** 2\
**Last updated:** [September 26, 2024, 4:22pm UTC](https://forum.code.org/t/csp-unit-3-project-submission/39888 "2024-09-26T16:22:43Z")

</div>

For the Unit 3 Project, are project partners only supposed to submit the project on one student’s account? For the feedback portion, does Group B just use Group A’s computer? Is there any way they can share the app with…

---

## [Sampling Frequency Widget](https://forum.code.org/t/sampling-frequency-widget/38252)

<div class="topic-metadata">

**Author:** [@j.dutton](https://forum.code.org/u/j.dutton)\
**Replies:** 3\
**Last updated:** [September 23, 2024, 11:19pm UTC](https://forum.code.org/t/sampling-frequency-widget/38252 "2024-09-23T23:19:03Z")

</div>

For Unit 1, Lesson 8, the Sampling Frequency Widget is buggy for me. Crosshairs appear immediately in the widget, from the top-left of the window (not the image) and there’s no way to select/deselect. I have to Run in or…

---

## [Unit 1 Lesson 12 Article PDFs](https://forum.code.org/t/unit-1-lesson-12-article-pdfs/35142)

<div class="topic-metadata">

**Author:** [@dcglasgow](https://forum.code.org/u/dcglasgow)\
**Replies:** 4\
**Last updated:** [September 23, 2024, 12:12pm UTC](https://forum.code.org/t/unit-1-lesson-12-article-pdfs/35142 "2024-09-23T12:12:03Z")

</div>

Does anyone have printer friendly versions of the Unit 1 Lesson 12 articles they are willing to share. The rubric calls for annotated articles. Thanks!

---

## [Is there a way to clear student answers on an assessment?](https://forum.code.org/t/is-there-a-way-to-clear-student-answers-on-an-assessment/31922)

<div class="topic-metadata">

**Author:** [@linda.kleinekracht](https://forum.code.org/u/linda.kleinekracht)\
**Replies:** 6\
**Last updated:** [September 20, 2024, 5:09pm UTC](https://forum.code.org/t/is-there-a-way-to-clear-student-answers-on-an-assessment/31922 "2024-09-20T17:09:51Z")

</div>

Is there a way to clear student answers so a retake is possible without previous answers being visible?

---

## [Using uploaded images as CSS background](https://forum.code.org/t/using-uploaded-images-as-css-background/37497)

<div class="topic-metadata">

**Author:** [@greiber](https://forum.code.org/u/greiber)\
**Replies:** 1\
**Last updated:** [September 20, 2024, 7:40am UTC](https://forum.code.org/t/using-uploaded-images-as-css-background/37497 "2024-09-20T07:40:20Z")

</div>

I would like to use the setStyle() function specifically for background images. Is there a way to link to the images that have been uploaded as images? I can only seem to make this work reliably with fully qualified UR…

[Previous page](https://forum.code.org/c/csp/12.md?page=6)

[Next page](https://forum.code.org/c/csp/12.md?page=8)
