Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@olawinski-e
Copy link

"hard git"


// Lorem ipsum generator
var ReverseCase = "";
for (i=0 ; i < hacker2.length ; i++){

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

your reverse doesn't quiet work. For this to work you need to loop backwards. Rather than starting on 0, you want to start on the length of the string and go down until it reaches 0.

for (i= hacker2.length -1 ; i >= 0  ; i--){
  ReverseCase += hacker2[i] + " ";
} 

@ta-web-paris
Copy link

What you've done is good! Yous seems to understand loops which will be important for later lessons 🙌

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.