Stoix51 Posted January 5, 2020 Share Posted January 5, 2020 Hello guys, this is not a critique but rather a bug report regarding the exercises on your python lessons tutorial: On the final Python If Else exercise, even though I introduce the correct answear "not correct" pops out. I wrote : print("Yes") if 5 > 2 else print("No") but it does not work, I rewrote the code many times but still not results. Link to comment Share on other sites More sharing options...
Ancient Bison Posted March 24, 2020 Share Posted March 24, 2020 Same at the Tryit Editor (https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_image) <img border="0" alt="W3Schools" src="logo_w3s.gif" width="100" height="100"> was never closed. Link to comment Share on other sites More sharing options...
Ingolme Posted March 25, 2020 Share Posted March 25, 2020 The <img> tag is self-closing, so it does not need a closing tag. Ending the tag with " />" is only necessary in XML, not in HTML. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now