# Using boilerplate

**URL:** <https://forum.freecodecamp.org/t/using-boilerplate/738678>\
**Category:** Curriculum Help\
**Created:** [March 11, 2025, 3:14pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678 "2025-03-11T15:14:07Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 3:14pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/1 "2025-03-11T15:14:07Z")

</div>

Just getting started here and I made a very basic boilerplate but when I pasted it into the Cat blog project it shutdown/crashed. I went back through starter info and did a quick search but I am asking here as well… are we not allowed to use boilerplate in the exercises? or is the crash a fluke… I am reluctant to try a second time in case it is a no no. Thanks for any help!

---

<div class="post-metadata">

**Author:** ![pkdvalis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pkdvalis/32/350571_2.png) [@pkdvalis](https://forum.freecodecamp.org/u/pkdvalis)\
**Post date:** [March 11, 2025, 3:38pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/2 "2025-03-11T15:38:17Z")

</div>

Please share your code here

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [March 11, 2025, 3:48pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/4 "2025-03-11T15:48:51Z")

</div>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

<div class="post-metadata">

**Author:** ![pkdvalis](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/pkdvalis/32/350571_2.png) [@pkdvalis](https://forum.freecodecamp.org/u/pkdvalis)\
**Post date:** [March 11, 2025, 4:11pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/5 "2025-03-11T16:11:59Z")

</div>

Is it the cat photo app project you are doing?

[https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-1](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-1)

The steps have very specific seed code and you need to only make changes that the instructions specify. If you make other changes, it will not pass the test.

> Change the text of the `h1` element below from `Hello World` to `CatPhotoApp` and watch the change in the browser preview.

You can see that adding your boilerplate isn’t going to accomplish this task. It could have unforseen results. It shouldn’t crash or shutdown your browser but it’s not necessary.

---

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 5:34pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/6 "2025-03-11T17:34:54Z")

</div>

nope, couple down from that… make a cat blog. It didn’t crash my browser, it killed the editor window on the project and sent me back out to the curriculum screen.

Ok… I went ahead and tried it again and it didnt have an issue this time…

---

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 3:05pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/7 "2025-03-11T15:05:15Z")

</div>

Perhaps a silly question, and I am ASSUMING that the answer is yes, but if for some reason I close, lose connection or shutdown while in a coding exercise, my progress to that point is saved server side?

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [March 11, 2025, 3:13pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/8 "2025-03-11T15:13:46Z")

</div>

There are two different types of saved progress for Free Code Camp: your profile and your browser cache.

**_A list of your completed challenges is saved to your account in the FCC database._** You can see the list of completed challenges by looking at your public portfolio. With a growing curriculum already over 1,400 lessons and a community of millions of people, FCC does not store every solution to every challenge in its database. When you complete a challenge, there is a modal that gives you the option to download your solution. This gives you the option to save a copy of any solution that you may want to reference later. There are some challenges which are classified as projects required for certifications. Your solutions to those can be viewed on your [settings page](https://freecodecamp.org/settings).

**_Your in-editor code is saved in your browser’s local storage._** Recent in-progress code from the challenge editor is also saved in your local browser cache when you run tests. If you are completing lessons and do not see your recent code, then your local storage has been cleared or something is preventing FCC from writing to your browser’s storage. This could be a browser setting, a privacy extension, or a browser version incompatibility. Especially as you get to more complicated challenges that may take multiple sessions, I strongly recommend saving your in-progress work outside of the browser cache.

This is a good opportunity to learn the ins and outs of your GitHub account, but you can also just save locally or use a service like [repl.it](https://repl.it/languages/javascript) which allows for versioning.

---

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 3:19pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/9 "2025-03-11T15:19:18Z")

</div>

Thank you for the response… if I save it and then lose the cache will it allow me to paste the code back into the exercise? I ask because I tried to paste a simple boilerplate into the cat blog and it reset/crashed the editor…

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [March 11, 2025, 5:32pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/10 "2025-03-11T17:32:25Z")

</div>

what did you try to paste in there? pasting in the editor should not be a destructive action

---

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 5:34pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/11 "2025-03-11T17:34:02Z")

</div>

```auto
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
   
    <title>Your Page Title</title>
 
</head>
<body>
    <!-- Your content goes here -->
    <header>
        <h1>Website</h1>
    </header>
    <main>
        <section>
            <h2>About</h2>
            <p>something interesting.</p>
        </section>
       
    </main>
    
</body>
</html>

```

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [March 11, 2025, 5:35pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/12 "2025-03-11T17:35:53Z")

</div>

and what happens when you paste this into the editor?

---

<div class="post-metadata">

**Author:** ![Chappy](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@Chappy](https://forum.freecodecamp.org/u/Chappy)\
**Post date:** [March 11, 2025, 9:33pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/13 "2025-03-11T21:33:40Z")

</div>

the first time I tried? it closed the editor out and dropped me back at the curriculum screen. I tried it again and it worked.

---

<div class="post-metadata">

**Author:** ![JeremyLT](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jeremylt/32/291894_2.png) [@JeremyLT](https://forum.freecodecamp.org/u/JeremyLT)\
**Post date:** [March 11, 2025, 9:35pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/14 "2025-03-11T21:35:44Z")

</div>

As mentioned in the other thread - you shouldn’t paste code that’s not related to your current Step into the editor.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [March 11, 2025, 9:37pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/15 "2025-03-11T21:37:18Z")

</div>

that’s not a behavior I have ever heard of

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [March 12, 2025, 3:35pm UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/16 "2025-03-12T15:35:03Z")

</div>

If you are able to get this behavior to happen consistently, please create a [GitHub Issue](https://github.com/freeCodeCamp/freeCodeCamp/issues) with the steps to reproduce the bug.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [September 11, 2025, 3:35am UTC](https://forum.freecodecamp.org/t/using-boilerplate/738678/17 "2025-09-11T03:35:21Z")

</div>

Closed on September 11, 2025, 3:35am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
