index.html & exercise style #1517
-
Hello! I am trying to make changes to the web such as button color heat, background color and others, but no changes are being made. I have searched for the index.html but why are there 5? What is the one that loads the web at the beginning? I've tried changing exercise.html to include messages in the web terminal and they don't show up. As I see that there is duplication of code, is the exercise.html that is executed in [1] or in [2]? [1] - ./exercises/templates/exercises/follow_line/exercise.html *All the style changes were made to a .css file that was in the .html directory |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @PabloAsensio it depends on how you are executing the exercise. The [1] - ./exercises/templates/exercises/follow_line/exercise.html is the template used when running the exercise via the docker container. The [2] - ./exercises/static/exercises/follow_line/web-template/exercises.html is the template used when running the exercise independently i.e without docker. As far as making changes to the css or js files go, you need to do that from here exercises/static/exercises/follow_line/web-template/assets/. As of now this is the common css and js files source for both the docker and non docker template. |
Beta Was this translation helpful? Give feedback.
Hey @PabloAsensio it depends on how you are executing the exercise. The [1] - ./exercises/templates/exercises/follow_line/exercise.html is the template used when running the exercise via the docker container.
The [2] - ./exercises/static/exercises/follow_line/web-template/exercises.html is the template used when running the exercise independently i.e without docker.
As far as making changes to the css or js files go, you need to do that from here exercises/static/exercises/follow_line/web-template/assets/. As of now this is the common css and js files source for both the docker and non docker template.
Hope that helps.