LearnAngular icon indicating copy to clipboard operation
LearnAngular copied to clipboard

First Lesson: Simple App doesn't display HTML correctly

Open PrestonII opened this issue 8 years ago • 9 comments

I love the structure of your lesson but I'm afraid the the first lesson doesn't seem to be working correctly. I tried to rule out that it was my own faulty coding but even using the "I'm stuck" version of the code fails to display the "Hello World" message expected. Perhaps it's a versioning issue? I know Angular has modified their syntax recently. Here are a few screenshots:

image

image

PrestonII avatar Jul 19 '16 17:07 PrestonII

It works for me.

image

image

The syntax in your screenshot is not exactly the same as the "I'm stuck" syntax. To confirm, when you click "I'm stuck" it still doesn't work?

Does your browser console show any errors?

levibotelho avatar Jul 20 '16 06:07 levibotelho

@levibotelho Actually I noticed that the preview is not working on Google Chrome, in all sections. The preview box is empty and no errors shown in the console.

I tested on Firefox and Safari and it's working perfectly there.

felipevolpatto avatar Jul 21 '16 14:07 felipevolpatto

Sorry @levibotelho @felipevolpatto just seeing your messages. I'll check to confirm on my end now. Also @levibotelho , yes I had also used the "I'm stuck" version of the code to test (though there was much difference syntactically) - had the same result.

PrestonII avatar Jul 21 '16 16:07 PrestonII

@felipevolpatto What version of Chrome? What operating system? I use Chrome to develop/test and for my everyday browsing and have never had a problem -- the screenshot that I sent you was from Chrome.

levibotelho avatar Jul 22 '16 06:07 levibotelho

@levibotelho tested on OSX El Capitan, Chrome 51.0.2704.103. That's weird, the preview is not working at all for me. I'll try some new tests and I'll keep you updated.

felipevolpatto avatar Jul 22 '16 23:07 felipevolpatto

Ah I thought you might say that. #50 reported this too. Appears to be a Chrome on Mac issue. I don't have a Mac and honestly don't have the time to dig into this, but I'll leave this open and if anyone wants to debug and submit a PR they're more than welcome to. (I'd be very grateful :smile:)

levibotelho avatar Jul 23 '16 09:07 levibotelho

I am seeing this issue on chrome too, however I am on Windows 10. Chrome version 56.0.2924.87

jack-evans avatar Feb 19 '17 16:02 jack-evans

I have the same issue. I'll try to update Chrome verson to 73.0.3683.103. Using Windows 10 Pro.

rubemrocha avatar Apr 27 '19 18:04 rubemrocha

Still experiencing this issue with Chrome Version 75.0.3770.142 (Official Build) (64-bit) on Windows 10 Pro.

bpetrie avatar Jul 25 '19 19:07 bpetrie