The green light is on. Let's walk across.

The green light is on. Let's walk across the street.

The green light is on. Let's walk across on the crosswalk.

The green light is on. Let's walk across from the sidewalk.

Are the sentences above all grammatical? If not, would you correct them?

There is no problem at all with the first 3 sentences.

The 4th one isn't used.

Does this setence contain a dangling modifier?

When accelerating to make a green light, an accident can occur.

Out of the four sentences provided, three of them are grammatically correct. However, there are minor improvements that can be made for clarity and proper usage.

1. "The green light is on. Let's walk across." - This sentence is grammatically correct, but it could benefit from a bit more information to make it clearer. For example, it could be revised to say, "The green light is on. We can walk across the street now."

2. "The green light is on. Let's walk across the street." - This sentence is grammatically correct and clear. It specifies that walking across the street is the intended action.

3. "The green light is on. Let's walk across on the crosswalk." - This sentence is grammatically correct, but it could be more concise by removing the preposition "on" from the phrase "walk across on the crosswalk." The revised sentence would be, "The green light is on. Let's walk across the crosswalk."

4. "The green light is on. Let's walk across from the sidewalk." - This sentence is grammatically correct, but it could be modified for clarity. Instead of using the phrase "walk across from the sidewalk," which can be confusing, you could specify which location you are referring to. For instance, you could say, "The green light is on. Let's walk across the street from the sidewalk." This revision clarifies that you are referring to walking across the street from the sidewalk.