Skip to content

Incorrectly indented code in steps 12 through 89 of the Learn Intermediate CSS by Building a Picasso Painting project #46982

Closed

Description

@RandellDawson

Describe the Issue

I came across this forum topic where the user was confused about opening/closing tags for div elements. After looking at step 12 of the project, I noticed the starting code for step 12 (the solution for step 11) added an indentation of 4 spaces not needed for the <div class="characters">. Also, the </body> has too much indentation.

Affected Page

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-intermediate-css-by-building-a-picasso-painting/step-12

Incorrect code

Instead of the starting code looking like:

  <body>
    <div id="back-wall"></div>
        <div class="characters">

          </div>
      </body>

Expected behavior

It instead should look like:

  <body>
    <div id="back-wall"></div>
    <div class="characters">

    </div>
  </body>

This affects all the remaining steps through step 89 (the final step). This will be an easy but tedious task to fix all the steps.

Screenshots

No response

System

  • Device: [e.g. iPhone 6, Laptop]
  • OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
  • Browser: [e.g. Chrome, Safari]
  • Version: [e.g. 22]

Additional context

No response

Activity

  1. added
    scope: curriculum
    status: waiting triage
    on Jul 21, 2022
  2. emcode93 commented on Jul 22, 2022

    @emcode93

    I discovered this issue and would love to help fix it!

  3. hrittik2002 commented on Jul 22, 2022

    @hrittik2002
    Contributor

    hello, I can fix this issue .... but how can I get the HTML file in the project

    $ cd css-picasso-painting
    bash: cd: css-picasso-painting: No such file or directory

    It is showing like this

  4. Sboonny commented on Jul 22, 2022

    @Sboonny
    Member

    Here is the markdown file https://github.com/freeCodeCamp/freeCodeCamp/blob/93b3151cca51becd237c3a58083f99a02b5059fb/curriculum/challenges/english/14-responsive-web-design-22/learn-intermediate-css-by-building-a-picasso-painting

    Check @RandellDawson comment for easy way to fix this #46982 (comment)

    this issue requires changing the seed contents of multiple files

    For your sanity, I advise using the search function in your text editor, here it's example in VScode.

    VS code search

    Remember to use files to include if possible in your editor, for quality of life and so you don't change other languages.

    Here is an example of input in files to include ./curriculum/challenges/english/14-responsive-web-design-22/learn-intermediate-css-by-building-a-picasso-painting

    VS code search

    be careful and don't delete --fcc-editable-region--

    Additional context

    Please make sure you read our guidelines for contributing, we prioritize contributors following the instructions in our guides. Join us in our chat room or the forum if you need help contributing, our moderators will guide you through this.

    Sometimes we may get more than one pull requests. We typically accept the most quality contribution, followed by the one that is made first.

    Happy contributing.

  5. added
    help wanted
    and removed
    status: waiting triage
    on Jul 22, 2022
  6. majestic-owl448 commented on Jul 22, 2022

    @majestic-owl448
    Contributor

    @emcode93 issues are not assigned, feel free to open a PR

    @hrittik2002 don't trust PR titles, there isn't such a folder, the steps are in curriculum/challenges/english/14-responsive-web-design-22/learn-the-css-box-model-by-building-a-rothko-painting
    Please read the contributing guidelines at contribute.freecodecamp.org

  7. majestic-owl448 commented on Jul 22, 2022

    @majestic-owl448
    Contributor

    @Sboonny you have linked only one step, but this issue is for all the steps between 12 and 89

  8. Sboonny commented on Jul 22, 2022

    @Sboonny
    Member

    thank you @ieahleen, I have edited my original comment

  9. RandellDawson commented on Jul 22, 2022

    @RandellDawson
    MemberAuthor

    This would be much easier to fix using the Challenge Editor. @ieahleen created an issue to have instructions for using it added to the How to Work on Practice Projects guide.

  10. hrittik2002 commented on Jul 22, 2022

    @hrittik2002
    Contributor

    @ieahleen thanks...now I got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedscope: curriculum

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions