I am creating animations for my math classes and would like to embed the code directly in Canvas course pages. Is there a way to use Html, CSS and js code inside Canvas?Any help is appreciated.
Hi @BhavaniKola,
If you're trying to do all of this directly in the Canvas editor, I think you're going to run into a lot of difficulties. Scripting is generally not allowed, and Canvas does limit what html elements and in-line styles you can use when editing HTML in the editor, see Canvas HTML Editor Allowlist - Instructure Community - 387066 for more details as to what is allowed.
Your best bet may be to host the content elsewhere where you then could include it as an iframe in Canvas. With this approach you may start to run into 3rd party content.cookie issues, especially as browsers focus a bit more on privacy.
I know some people also try putting html/javascript/css into the Canvas files area with somedegree of success, but I myself have never really considered this as a officially supported method, and I have noticed an uptick in posts here in the community about that style of content breaking for some users.
I may not have provided an exact answer here, but maybe something I said here will spark an idea on your end. Others may also chime in with their own advice around this.
-Chris
Enhance your access to articles, forums, and events—and to participate by sharing insights, engaging in discussions, and connecting with your network of edtech peers.
Hi, I am a chemistry teacher at a school in MS and am trying to get my courses up to speed on ADA accessibility. Most periodic tables I have access to are pdf's which are not ADA accessible. Can you please assist?
Error message when viewing SCORM files as Admin login: This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>MissingKey</Code> <Message> Missing Key-Pair-Id query parameter or cookie value </Message> </Error> When viewing as a student login the SCORM…
I have now had a few cases of students' responses in New Quizzes not being recorded. Normally, students get a connection error and can restart, but here they get new questions one at a time with no indication of a problem until they try to submit the exam and find that they can't submit it. Students are losing 20-90% of…
We are trying to determine a process for removing inactive users in Canvas. What are other schools doing? Do you delete inactive users after a certain time of inactivity?
We assign coursework by section, and teachers enter the transfer grades on each assignment from before the student’s enrollment date. However, those grades do not satisfy the modules’ “Submit the assignment” requirements. Students still have to go back to the beginning of the school year and submit blank documents and…