Best 15 Colleges in Northern California in 2021

Staff Writers by: Staff Writers

Many people ask why they would want to choose a community college in Northern California. There are dozens of reasons, but one of the most common is because it gives students the opportunity to start their college careers close to home and with low tuition rates.

Many colleges in northern California prepare students to move to a larger university after their first few years of study. These schools also offer workforce training, basic English courses and more benefits that may not be seen at larger universities.

Choosing a College in Northern California

When choosing a college in Northern California, it’s a good idea to look at the curriculum offered and to be sure the school is accredited. Many community colleges keep up with cutting-edge programs that are hot at the moment, such as Green Technology or learning about 3D animation.

This list looks at the top 15 colleges in northern California, so you can find one that fits into your budget and has the programs you’re interested in.

The Top 15 Colleges in Northern California

1. Gavilan College

Gavilan College is accredited by the Accrediting Commission for Community and Junior Colleges, Western Association of Schools and Colleges. The school has various academic departments and programs in STEM, library work, distance education, contract education and more.

  • Tuition (in-state): $1,166
  • Enrollment: 5,573

2. Folsom Lake College

Part of the California Community Colleges system, Folsom Lake College serves students in Folsom, California. It has low tuition rates and small class sizes, making it a good choice for students looking to start out locally. It offers programs in general education, transfer and career education.

  • Tuition (in-state): $1,104
  • Enrollment: 8,945

3. Berkeley City College

Berkeley City College is accredited by the Accrediting Commission for Community and Junior Colleges of the Western Association of Schools and Colleges. This school was formerly known as Vista Community College and replaced the North Peralta Community College.

  • Tuition (in-state): $1,257
  • Enrollment: 5,644

4. Las Positas College

Las Positas College is 40 miles southeast of San Francisco, offering to school to around 8,500 students. The majority of students prepare here for their careers or to transfer on to a four-year college. There are 24 occupational associate degrees, 17 transfer associate degrees and 44 certificate programs available.

  • Tuition (in-state): $1,164
  • Enrollment: 8,706

5. California Maritime Academy

California Maritime Academy is located in Vallejo, California. It’s unique in that it has 1,000 students or fewer and is only one of seven degree-granting maritime academies in the United States. It’s the only degree-granting maritime academy on the West Coast.

  • Tuition (in-state): $7,116
  • Enrollment: 941

6. Chabot College

Chabot College was created in 1961 and now offers educational experiences and programs for around 14,000 students annually. The school has degrees, transfer programs and certificates available for students from around the world. The college is accredited.

  • Tuition (in-state): $1,144
  • Enrollment: 13,522

7. Lincoln University

Lincoln University was founded in 1919 and is accredited by the WASC Senior College and University Commission. It is also accredited by the Accrediting Council for Independent Colleges and Schools. Its business programs are separately accredited by the International Accreditation Council for Business Education.

  • Tuition (in-state): $8,460
  • Enrollment: 475

8. Laney College

Laney College is located in the Peralta Community College District and serves around 16,000 students annually. It is one of the oldest community colleges in the country and focuses on helping students complete their associate degrees before moving on to a four-year university. The programs also include career and technical programs.

  • Tuition (in-state): $1,257
  • Enrollment: 10,424

9. Evergreen Valley College

Evergreen Valley College has the goal of preparing its students for transferring to a larger university. Located in San Jose, the school is accredited by the Accrediting Commission for Community and Junior Colleges, Western Associate of Schools and Colleges.

  • Tuition (in-state): $1,358
  • Enrollment: 9,774

10. Cabrillo College

Cabrillo College is located in Aptos, California. It opened in 1959 and offers many 3-to-5-year programs. It often transfers students to California State University, San Jose University or the University of California for post-graduate studies.

  • Tuition (in-state): $1,270
  • Enrollment: 11,033

11. Humboldt State University

Humboldt State University offers 46 majors to students. With over 80,000 alumni, this school is well known for providing an extraordinary college experience. The school is located 275 miles north of San Francisco in the town or Arcata.

  • Tuition (in-state): $7,176
  • Enrollment: 7,180

12. Butte College

Butte College is an accredited community college that is based 75 miles north of Sacramento. It offers over 180-degree programs and hosts around 17,000 students each year.

  • Tuition (in-state): $1,368
  • Enrollment: 10,100

13. Diablo Valley College

Established in 1949, Diablo Valley College is located in the Contra Costa Community College District. It has two campuses, one in Pleasant Hill and another in Dougherty Valley. Over 28,000 students come to the colleges between the two campuses.

  • Tuition (in-state): $1,312
  • Enrollment: 19,871

14. De Anza College

De Anza College is one of the colleges that often transfers its students to four-year universities. It offers various programs, certificates and degree programs to help students get started in their fields. It offers 77 associate degrees, 103 academic certificates and over 1,800 courses in all.

  • Tuition (in-state): $1,561
  • Enrollment: 18,669

15. California State University Chico

California State University Chico is an affordable four-year college that offers over 100 undergraduate and post-graduate programs. It is located in Chico and may also be known as Chico State.

  • Tuition (in-state): $7,176
  • Enrollment: 17,110

Ranking Specifications

The schools here were ranked by total tuition rates (low to high) as well as enrollment (low to high). The two scores were combined and then placed in order from the highest-ranking school to the lowest-ranking school out of these 15 institutions. Every effort has been made to provide accurate information, but the results here are not guaranteed and may be changed at any time.

Need More Information about How Your School was Ranked?

Would you like to know more about how your school was ranked? Is there information that needs to be updated? Perhaps you want your school to be added to our list. We’d love to hear from you, so contact us today.

Scroll to Top
[degree_finder]
<div class="sideform new_ssr_widget"> <div id="degree-finder"> <script> window.HE = window.HE || {}; window.HE.me = window.HE.me || {}; window.HE.contextualDefaults = window.HE.contextualDefaults || {}; </script> <div data-ssr data-widget="ssr-qdf" data-background-color="#ffffff" data-category="" data-cta="Find Your School" data-cta-color="#DE5C3E" data-degree="" data-height="325" data-subject="" data-title="Degree Finder" data-publisher="bestvalueschools.org" data-url="https://www.bestvalueschools.org/colleges-in-northern-california/" class="ssr-qdf-951ac310-567a-11eb-8b9b-45882cf56790"> <style> #platform-quick-degree-finder label.css-ft45iw{box-sizing:border-box;padding-top:0px;padding-right:15px;padding-bottom:0;padding-left:15px;width:100%;display:block;margin:17.875px 0;cursor:inherit;opacity:inherit;max-height:inherit;position:relative;top:auto;}#platform-quick-degree-finder span.css-wi7yug{box-sizing:border-box;display:none;margin:0;padding:0;line-height:0;}#platform-quick-degree-finder span.css-sc8ma5{box-sizing:border-box;color:black;font-size:15px;font-weight:bold;height:40.625px;left:15px;line-height:40.625px;position:absolute;text-align:center;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out;width:35px;z-index:1;}#platform-quick-degree-finder span.css-sc8ma5:before{content:"1";}#platform-quick-degree-finder span.css-q70zm6{box-sizing:border-box;color:black;font-size:15px;font-weight:bold;height:40.625px;left:15px;line-height:40.625px;position:absolute;text-align:center;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out;width:35px;z-index:1;}#platform-quick-degree-finder span.css-q70zm6:before{content:"2";}#platform-quick-degree-finder span.css-1asxcka{box-sizing:border-box;color:black;font-size:15px;font-weight:bold;height:40.625px;left:15px;line-height:40.625px;position:absolute;text-align:center;-webkit-transition:background-color .1s ease-in-out;transition:background-color .1s ease-in-out;width:35px;z-index:1;}#platform-quick-degree-finder span.css-1asxcka:before{content:"3";}.css-1pz3fcu{margin:0;padding:0;border-width:0;border-style:solid;border-color:#e2e8f0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;box-sizing:border-box;}.css-1iam9o9{position:relative;}.css-1p5s0hp-AdDisclosure{background-color:#fefefe;box-shadow:none;color:#718096 !important;padding:0.25rem 0.75rem;font-weight:700;border-width:2px;border-radius:.25rem;border-style:solid;border-color:#e2e8f0;font-family:inherit;font-size:13px;line-height:inherit vertical-align:baseline;box-sizing:border-box;-webkit-transition:.2s ease all;transition:.2s ease all;min-width:0;}.css-1p5s0hp-AdDisclosure:hover,.css-1p5s0hp-AdDisclosure:focus,.css-1p5s0hp-AdDisclosure:active{background-color:#FAFAFA;color:#718096;cursor:pointer;}.css-11e3mg8{font-weight:700;}.css-1w9ghd{-webkit-letter-spacing:.025em;-moz-letter-spacing:.025em;-ms-letter-spacing:.025em;letter-spacing:.025em;}.css-1hhul3j{text-transform:uppercase;}.css-1jbuhzf{padding-left:1.5rem;padding-right:1.5rem;}.css-yrxnuw{color:#ffffff;}.css-1u78gm9{border-radius:.25rem;}.css-1y4tel7{display:block;}.css-1kru6p0{width:100%;}.css-rnous3{margin-top:1rem;}.css-12fbi72{padding-top:0.75rem;padding-bottom:0.75rem;}.css-1kwozlu-Wrapper{margin-bottom:0.25rem;font-size:0.75rem;padding-top:0.25rem;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}form#platform-quick-degree-finder.css-jnw8l7{background:#ffffff;background-image: linear-gradient( #ffffff 0px, #E6E6E6 100% );border-radius:3px;box-shadow:rgba(0,0,0,0.1) 0px 3.25px 13px,rgba(0,0,0,0.5) 0 0 1px;box-sizing:border-box;counter-reset:labels;font-size:3.25px;height:325px;line-height:1.5;margin:auto;margin-bottom:55px;text-rendering:optimizeLegibility;white-space:nowrap;width:300px;padding:0;position:relative;border:0;}form#platform-quick-degree-finder.css-jnw8l7 .ad-disclosure-wrapper{position:absolute;right:0;bottom:-45px;}form#platform-quick-degree-finder.css-jnw8l7 .ad-disclosure-wrapper button.tooltip-toggle{font-size:12px;margin:0;width:45px;min-width:0;height:30px;}#platform-quick-degree-finder div.css-1u5ed2y{background:#ffffff;border:none;border-bottom:1px solid rgba(0,0,0,0.15);box-sizing:border-box;height:75%;margin:0;padding:0 0 15px 0;}#platform-quick-degree-finder legend.css-9rtqb4{background:none;border:0;box-sizing:border-box;color:rgb(0,0,0);height:22%;font-size:22.75px;font-weight:bold;line-height:48.75px;margin:0;text-align:center;text-transform:none;padding:0px 0;width:100%;}#platform-quick-degree-finder button.css-hkmjk6{background:#DE5C3E;border:none;border-radius:3px;box-shadow:0 -3.25px 0 rgba(0,0,0,0.2) inset;box-sizing:border-box;color:rgb(255,255,255);cursor:pointer;font-size:16.25px;width:calc(100% - 30px);height:40.625px;margin:15px 15px 0 15px;-webkit-transition:background-color 300ms ease-out;transition:background-color 300ms ease-out;padding:0;float:none;max-width:100%;}#platform-quick-degree-finder button.css-hkmjk6:disabled{cursor:not-allowed;opacity:0.6;}#platform-quick-degree-finder button.css-hkmjk6:hover{background:#DE5C3F;}.css-iok6vd-Tooltip{background-color:white;border-radius:5px;border:1px solid #fefefe;border-top:8px solid #DE5C3E;box-shadow:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);box-sizing:border-box;color:#333;display:none;font-size:14px;min-height:190px;line-height:1.5;min-width:275px;padding:15px;position:absolute;width:275px;top:-25px;white-space:pre-wrap;z-index:999;}.css-iok6vd-Tooltip.open{display:block;}.css-iok6vd-Tooltip .close-button{display:none;}.css-iok6vd-Tooltip:before{content:"";display:inline-block;width:0;height:0;border-style:solid;position:absolute;top:25px;}.css-iok6vd-Tooltip.left{left:-288px;}.css-iok6vd-Tooltip.left:before{right:-12px;border-width:10px 0 10px 12px;border-color:transparent transparent transparent #ffffff;-webkit-filter:drop-shadow(1px 2px 1px #eeeeee);filter:drop-shadow(1px 2px 1px #eeeeee);}.css-iok6vd-Tooltip.right{right:-288px;}.css-iok6vd-Tooltip.right:before{left:-12px;border-width:10px 12px 10px 0;border-color:transparent #ffffff transparent transparent;-webkit-filter:drop-shadow(-1px 2px 1px #eeeeee);filter:drop-shadow(-1px 2px 1px #eeeeee);}@media (max-width:1024px){.css-iok6vd-Tooltip{left:0;height:auto;margin:0 auto;right:0;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);top:50px;width:95%;}.css-iok6vd-Tooltip .close-button{border:1px solid #e2e8f0;background-color:#DE5C3E;color:#FFFFFF;display:block;}.css-iok6vd-Tooltip:before{display:none;}}#platform-quick-degree-finder select.css-1yfpi3z{color:#393939;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:3px;background-color:#fff;background-image:url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22276.7%22%20height%3D%22153%22%20viewBox%3D%220%200%20276.7%20153%22%20enable-background%3D%22new%200%200%20276.7%20153%22%3E%3Cstyle%3E.arrow%7Bfill%3A%23393939%3B%7D%3C%2Fstyle%3E%3Cpath%20class%3D%22arrow%22%20d%3D%22M276.7%200H0l138.2%20153z%22%20%2F%3E%3C%2Fsvg%3E),linear-gradient(rgb(255,255,255) 0px,rgb(237,237,237) 100%);background-position:right 13px center,left top;background-repeat:no-repeat;background-size:auto 5px,auto;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;border:2px solid rgba(143,143,143,0.33);box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:normal;height:40.625px;padding:0 32.5px 0 35px;text-transform:inherit;width:100%;outline:none;margin:0;opacity:1;box-shadow:none;max-width:100%;text-transform:none;}#platform-quick-degree-finder select.css-1yfpi3z:focus{border:2px solid #DE5C3E;}#platform-quick-degree-finder select.css-1yfpi3z:focus::-ms-value{background:none;color:#393939;}#platform-quick-degree-finder select.css-1yfpi3z:-moz-focusring{color:transparent;text-shadow:0 0 0 #000;}#platform-quick-degree-finder select.css-1yfpi3z::-ms-expand{display:none;}#platform-quick-degree-finder select.css-1yfpi3z:disabled{cursor:not-allowed;opacity:0.6;} </style> <div><div><form action="https://platform.highereducation.com/track/quick-degree-finder-widget-submit" id="platform-quick-degree-finder" method="POST" data-monetization-impression="true" data-monetization-impression-degree="" data-monetization-impression-category="" data-monetization-impression-subject="" class="css-jnw8l7"><div class="css-1u5ed2y"><legend class="css-9rtqb4">Degree Finder</legend><label step="1" class="css-ft45iw"><span class="css-wi7yug">Select a Degree Level</span><span step="1" class="css-sc8ma5"></span><select class="css-1yfpi3z" name="degree"><option selected="" value="">Select a Degree</option><option value="1">Associate&#x27;s</option><option value="2">Bachelor&#x27;s</option><option value="3">Master&#x27;s</option><option value="4">Doctorate</option><option value="5">Non-Degree Courses</option><option value="6">Certificate / Diploma</option><option value="7">Graduate Certificates</option></select></label><label step="2" class="css-ft45iw"><span class="css-wi7yug">Select a Category</span><span step="2" class="css-q70zm6"></span><select class="css-1yfpi3z" name="category"><option selected="" value="">Select a Category</option><option value="10">Art &amp; Design</option><option value="1">Business &amp; Management</option><option value="7">Computers &amp; Technology</option><option value="2">Criminal Justice &amp; Legal</option><option value="3">Education &amp; Teaching</option><option value="8">Liberal Arts &amp; Humanities</option><option value="5">Nursing &amp; Healthcare</option><option value="11">Psychology &amp; Counseling</option><option value="4">Science &amp; Engineering</option><option value="9">Trades &amp; Careers</option></select></label><label step="3" class="css-ft45iw"><span class="css-wi7yug">Select a Subject</span><span step="3" class="css-1asxcka"></span><select class="css-1yfpi3z" name="subject"><option selected="" value="">Select a Subject</option><optgroup label="Art &amp; Design"><option value="228">Animation</option><option value="27">Art &amp; Art History</option><option value="147">Creative / Design</option><option value="133">Fashion</option><option value="227">Film</option><option value="134">Game Design</option><option value="161">Graphic Design</option><option value="226">Interior Design</option><option value="256">Landscape Architecture</option><option value="157">Multimedia Design</option><option value="221">Photography</option><option value="278">Visual Communications</option><option value="16">Web Design</option></optgroup><optgroup label="Business &amp; Management"><option value="30">Accounting</option><option value="208">Business Administration</option><option value="299">Business Intelligence</option><option value="109">Economics</option><option value="166">Entertainment Management</option><option value="51">Entrepreneurship</option><option value="21">Finance</option><option value="260">Forensic Accounting</option><option value="116">Hospitality Management</option><option value="241">Hotel &amp; Restaurant Management</option><option value="3">Human Resources</option><option value="8">International Business</option><option value="180">Internet Marketing</option><option value="293">Logistics</option><option value="9">Management</option><option value="282">Management Information Systems</option><option value="22">Marketing</option><option value="174">Non-Profit Management</option><option value="48">Organizational Leadership</option><option value="11">Project Management</option><option value="181">Public Relations</option><option value="205">Real Estate</option><option value="31">Retail &amp; Sales Management</option><option value="182">Risk Management</option><option value="232">Small Business</option><option value="32">Sports Management</option><option value="10">Supply Chain &amp; Logistics</option><option value="183">Taxation</option><option value="230">Training &amp; Development</option></optgroup><optgroup label="Computers &amp; Technology"><option value="175">Computer Engineering</option><option value="266">Computer Forensics</option><option value="15">Computer Programming</option><option value="34">Computer Science</option><option value="138">Database Management</option><option value="13">Information Systems Security</option><option value="58">Information Technology</option><option value="23">Internet Security</option><option value="163">Mobile Development</option><option value="14">Network Administration</option><option value="125">Network Security</option><option value="128">Software Engineering</option><option value="54">Web Development</option></optgroup><optgroup label="Criminal Justice &amp; Legal"><option value="156">Corrections</option><option value="76">Crime Scene Investigation</option><option value="7">Criminal Justice</option><option value="184">Criminology</option><option value="185">Cyber Security</option><option value="100">Forensic Science</option><option value="60">Homeland Security</option><option value="20">Law Enforcement</option><option value="99">Legal Studies</option><option value="77">Paralegal</option><option value="57">Public Safety Administration</option></optgroup><optgroup label="Education &amp; Teaching"><option value="234">Adult Education/Learning</option><option value="188">Child Development</option><option value="243">Coaching</option><option value="189">Curriculum &amp; Instruction</option><option value="35">Early Childhood Education</option><option value="24">Education</option><option value="111">Educational Administration</option><option value="190">Educational Counseling</option><option value="122">Educational Leadership</option><option value="52">Educational Technology</option><option value="223">Elementary Education</option><option value="191">English Language Learning</option><option value="61">Higher Education</option><option value="36">K-12 Education</option><option value="210">Library Science</option><option value="193">Math Education</option><option value="162">Music Education</option><option value="170">Online Teaching</option><option value="70">Reading &amp; Literacy</option><option value="64">Special Education</option><option value="37">Teacher Licensure</option></optgroup><optgroup label="Liberal Arts &amp; Humanities"><option value="214">Anthropology</option><option value="33">Communications</option><option value="28">English</option><option value="79">General Studies</option><option value="201">Geography</option><option value="169">History</option><option value="242">Human &amp; Family Development</option><option value="237">Journalism</option><option value="29">Liberal Arts</option><option value="280">Media Communications</option><option value="258">Ministry</option><option value="236">Music</option><option value="154">Political Science</option><option value="45">Public Administration</option><option value="186">Public Policy</option><option value="47">Social Science</option><option value="152">Social Work</option><option value="85">Sociology</option><option value="78">Theology</option><option value="203">Writing</option></optgroup><optgroup label="Nursing &amp; Healthcare"><option value="206">Dental Assistance</option><option value="198">Emergency Management</option><option value="72">Gerontology</option><option value="199">Health Education</option><option value="59">Health Informatics</option><option value="83">Health Science</option><option value="148">Health Services</option><option value="5">Healthcare Administration</option><option value="231">Healthcare Management</option><option value="67">Human Services</option><option value="105">Medical Assisting</option><option value="6">Medical Coding</option><option value="207">Medical Office Administration</option><option value="283">Nurse Practitioner (RN Required)</option><option value="89">Nursing (RN required)</option><option value="300">Nursing Education (RN Required)</option><option value="96">Nutritional Sciences</option><option value="101">Pharmacy</option><option value="160">Public Health</option><option value="204">RN to BSN (RN required)</option><option value="276">Sports Medicine</option><option value="55">Sports Medicine/Physical Therapy</option><option value="165">Veterinary</option><option value="219">X-Ray Technician</option></optgroup><optgroup label="Psychology &amp; Counseling"><option value="298">Addictions &amp; Recovery</option><option value="289">Behavioral Psychology</option><option value="257">Child and Adolescent Psychology</option><option value="66">Counseling</option><option value="290">Educational Psychology</option><option value="294">Family Counseling</option><option value="209">Forensic Psychology</option><option value="286">Organizational Psychology</option><option value="18">Psychology</option></optgroup><optgroup label="Science &amp; Engineering"><option value="238">Aeronautics/Aviation</option><option value="292">Biomedical Engineering</option><option value="168">Civil Engineering</option><option value="268">Drafting</option><option value="139">Electronics Engineering</option><option value="150">Engineering</option><option value="288">Engineering Management</option><option value="142">Environmental Management</option><option value="158">Environmental Science</option><option value="196">Industrial Engineering</option><option value="197">Mechanical Engineering</option></optgroup><optgroup label="Trades &amp; Careers"><option value="144">Automotive</option><option value="264">Carpentry</option><option value="90">Construction Management</option><option value="259">Culinary</option><option value="218">Electrical Technician</option><option value="141">Fire Science</option><option value="217">Heating/Cooling</option><option value="145">Technology</option><option value="143">Trades</option></optgroup></select></label></div><button type="submit" class="css-hkmjk6">Find Your School</button><input type="hidden" name="publisher" value="bestvalueschools.org"/><input type="hidden" name="url"/><div class="ad-disclosure-wrapper css-1kwozlu-Wrapper"><section class="css-1pz3fcu css-1iam9o9"><button type="button" class="css-1p5s0hp-AdDisclosure tooltip-toggle">AD</button><div class="tooltip-body right css-iok6vd-Tooltip">BestValueSchools.org is an advertising-supported site. Featured or trusted partner programs and all school search, finder, or match results are for schools that compensate us. This compensation does not influence our school rankings, resource guides, or other editorially-independent information published on this site.<button type="button" class="css-1pz3fcu css-11e3mg8 css-1w9ghd css-1hhul3j css-1jbuhzf css-yrxnuw css-1u78gm9 css-1y4tel7 css-1kru6p0 css-rnous3 css-12fbi72 bg-accent close-button">Got it!</button></div></section></div></form></div></div> <script> (function(){var i=this.element,e=this.props;if(i){i.setAttribute("data-ssr-mounted","");var o=i.querySelector("select[name=degree]"),a=i.querySelector("select[name=category]"),c=i.querySelector("select[name=subject]"),t=c.querySelectorAll("optgroup"),n=i.querySelector("[name=url]"),r=o.children[0].label,l=a.children[0].label,u=c.children[0].label,s=window.self!==window.top;n.value=s?document.referrer:window.location.href;for(var d,g,m,p=[],f=[],h=[],y=1;y<o.length;y++)p.push({name:o[y].label,id:o[y].value,selected:o[y].selected});for(var b=1;b<a.length;b++)f.push({name:a[b].label,id:a[b].value,selected:a[b].selected,degree:p.map(function(e){return e.id})});for(var v=0;v<t.length;v++){for(var x=void 0,w=0;w<f.length;w++)f[w].name===t[v].label&&(x=f[w].id);for(var O=0;O<t[v].children.length;O++){var E=t[v].children[O];h.push({name:E.label,id:E.value,selected:E.selected,category:x,degree:p.map(function(e){return e.id})})}}o.addEventListener("change",F),a.addEventListener("change",N),c.addEventListener("change",z);var S="".concat("https://platform.highereducation.com/","api"),j="\n query QuickDegreeFinderFeed(\n $publisher: String!\n ) {\n quickDegreeFinder(\n publisher: $publisher\n ) {\n degrees {\n id\n name\n slug\n categories {\n id\n name\n slug\n subjects {\n id\n name\n slug\n }\n }\n }\n }\n }\n ",k={publisher:e&&e.publisher},C="".concat(S,"?query=").concat(encodeURIComponent(j),"&variables=").concat(encodeURIComponent(JSON.stringify(k)));if(k.publisher&&I(C,function(e){var t,n,i=JSON.parse(e).data,r=i&&i.quickDegreeFinder&&i.quickDegreeFinder.degrees;r||!r.length?(t=r.reduce(function(t,n){return n.categories.forEach(function(e){t[e.id]=t[e.id]||e,t[e.id].degree=t[e.id].degree||[],t[e.id].degree.push(n.id)}),t},{}),t=Object.keys(t).map(function(e){return t[e]}),n=r.reduce(function(n,i){return i.categories.forEach(function(t){t.subjects.forEach(function(e){n[e.id]=n[e.id]||e,n[e.id].category=n[e.id].category||t.id,n[e.id].degree=n[e.id].degree||[],n[e.id].degree.push(i.id)})}),n},{}),n=Object.keys(n).map(function(e){return n[e]}),d=p.filter(function(e){return e.selected}),g=f.filter(function(e){return e.selected}),m=h.filter(function(e){return e.selected}),p=r.map(function(e){return e.selected=d[0]&&d[0].id==e.id||!1,e}),f=t.map(function(e){return e.selected=g[0]&&g[0].id==e.id||!1,e}).sort(function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}),h=n.map(function(e){return e.selected=m[0]&&m[0].id==e.id||!1,e}).sort(function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}),F()):console.error("Problem loading QDF feed.")}),"undefined"!=typeof window&&!window.toggleTooltip){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var P=function(e){if(!e)return!1;var t=window.innerWidth,n=e.getBoundingClientRect().left,i=t-(n+e.offsetWidth);return 275+10<i?"right":i<n?"left":"right"};window.toggleTooltip=function(e){if(e.target.classList.contains("tooltip-toggle")){var t=i.querySelector(".tooltip-toggle"),n=e.target.closest("section").querySelector(".tooltip-body");"left"===P(t)?(n.classList.remove("right"),n.classList.add("left")):(n.classList.remove("left"),n.classList.add("right")),n.classList.toggle("open"),"undefined"!=typeof window&&void 0!==window.tagular&&window.tagular("beam","ElementClicked",{"@type":"redventures.usertracking.v3.ElementClicked",webElement:{location:"AD_DISCLOSURE",elementType:"TOOLTIP",position:"Search Experience",text:"Click - Ad Disclosure Tooltip"},actionOutcome:"INTERNALLINK"})}else e.target.classList.contains("tooltip-body")||document.querySelectorAll(".tooltip-body").forEach(function(e){return e.classList.remove("open")})},document.addEventListener("click",window.toggleTooltip)}}function T(){return'\n <option value="">'.concat(r,"</option>\n ").concat(p.map(function(e){return"\n <option ".concat(e.selected?"selected":"",' value="').concat(e.id,'" data-slug="').concat(e.slug,'">').concat(e.name,"</option>\n ")}).join(""),"\n ")}function M(e,t){return'\n <option value="">'.concat(e,"</option>\n ").concat(t.map(function(e){return"\n <option ".concat(e.selected?"selected":"",' value="').concat(e.id,'" data-slug="').concat(e.slug,'">').concat(e.name,"</option>\n ")}).join(""),"\n ")}function D(e,t,n){var i=0<o.selectedIndex?t.filter(function(e){var t;return e.degree.forEach(function(e){o[o.selectedIndex].value==e&&(t=!0)}),t}):t,r=[].concat(n).map(function(t){return t.subjects=i.filter(function(e){return e.category===t.id}),t});return'\n <option value="">'.concat(e,"</option>\n ").concat(r.map(function(e){return'\n <optgroup label="'.concat(e.name,'">\n ').concat(e.subjects.map(function(e){return"\n <option ".concat(e.selected?"selected":"",' value="').concat(e.id,'" data-slug="').concat(e.slug,'">').concat(e.name,"</option>\n ")}).join(""),"\n </optgroup>\n ")}).join(""),"\n ")}function L(){var e=q(),t=e.degree,n=e.category,i=(e.subject,!t||""===t),r=!n||""===n;a.disabled=i,c.disabled=i||r}function H(){var e=g[0]&&g[0].name;return!e||""===e?f.map(function(e){return e.selected=!1,e}):f}function A(){var e=m[0]&&m[0].name;return!e||""===e?h.map(function(e){return e.selected=!1,e}):h}function q(){var e=Object.values(o.children).filter(function(e){return e.selected}),t=Object.values(a.children).filter(function(e){return e.selected}),n=Object.values(c.children).filter(function(e){return e.selected});return{degree:e[0]&&e[0].value,category:t[0]&&t[0].value,subject:n[0]&&n[0].value}}function F(e){var t=q().degree;e&&e.target&&(p=p.map(function(e){return e.selected=e.id==t,e}));var i=t?p.filter(function(e){return e.selected}):p,n=f.filter(function(e){var n;return e.degree.forEach(function(t){i.forEach(function(e){t===e.id&&(n=!0)})}),n});o.innerHTML=T(r,p),t&&""!==t||(f=H(),h=A()),a.innerHTML=M(l,n),n=0<a.selectedIndex?f.filter(function(e){return e.selected}):n,c.innerHTML=D(u,h,n),L()}function N(e){var t=q().category;f=f.map(function(e){return e.selected=e.id==t,e});var n=t?f.filter(function(e){return e.selected}):f;a.innerHTML=M(l,f),t&&""!==t||(h=A()),c.innerHTML=D(u,h,n),L()}function z(e){var t=e&&e.target&&e.target.value;h=h.map(function(e){return e.selected=e.id==t,e});var n=f.filter(function(e){return e.selected});c.innerHTML=D(u,h,n.length?n:f)}function I(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){4==n.readyState&&200==n.status&&t(n.responseText)},n.open("GET",e,!0),n.send(null)}}).call({ element: document.querySelector("[class=ssr-qdf-951ac310-567a-11eb-8b9b-45882cf56790]:not([data-ssr-mounted])"), props: {"backgroundColor":"#ffffff","category":"","cta":"Find Your School","ctaColor":"#DE5C3E","degree":"","height":"325","subject":"","title":"Degree Finder","publisher":"bestvalueschools.org","url":"https://www.bestvalueschools.org/colleges-in-northern-california/"} }) </script> <script async src="https://platform.highereducation.com/widgets.js"></script> </div> </div></div>