37 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			37 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								title: Clear Specific Values from Your Browser Local Storage
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								Removing specific values from your browser's local storage will solve many problems related to the browser crashing or freezing on FreeCodeCamp.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								This solves, as example, a common problem with browser hanging out in a challenge's page after saving a response with an infinite loop.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								When this happens, you must delete the value in `localStorage` storing that response.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## In Chrome:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*   On **freecodecamp.com**, open your developer tools.
							 | 
						||
| 
								 | 
							
								    *   More tools > Developer tools (or `Ctrl` + `Shift` + `I` (Windows), `Cmd` + `Opt` + `I` (Mac))
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*   Navigate to the `Resources` tab
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*   Expand the `Local Storage` item in the left pane
							 | 
						||
| 
								 | 
							
								*   Select `http://www.freecodecamp.com`
							 | 
						||
| 
								 | 
							
								*   Find the challenge you wish to delete data in the right pane 
							 | 
						||
| 
								 | 
							
								*   Right click the desired challenge and select `Delete`
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## In Firefox:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*   On **freecodecamp.com**, open your web console with
							 | 
						||
| 
								 | 
							
								    *   `Ctrl` + `Shift` + `K`
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*   From there, using directly the console:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    *   Type `console.log(localStorage);` and hit `Enter`.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    *   Click in `Storage` link. 
							 | 
						||
| 
								 | 
							
								    *   The **Storage** panel will appear at right.
							 | 
						||
| 
								 | 
							
								    *   Filter the results to find the Algorithm, Front End Project or Challenge causing the problem.
							 | 
						||
| 
								 | 
							
								    *   When located, mouse over it and click the `x` at right. 
							 | 
						||
| 
								 | 
							
								    *   Once removed, check if the problem was solved. Refresh or close and open the browser if necessary.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								**Note:** This can also be done with the <a href='https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector' target='_blank' rel='nofollow'>Storage Inspector</a>, but seems like Firefox hangs out when there are so many values.
							 |