How do I combine 2 totally different codes to be one? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do I combine 2 totally different codes to be one?

I opened a game contest that lasts for 30 days, and I made a code to show the rules and other info, but then I did a timer that shows how much time is left until the contest ends, but I dont know how to implement the timer to the contest code. Help pls :) Here are the two codes: https://code.sololearn.com/WL82whLfz5Et/?ref=app https://code.sololearn.com/WetAHx4kk9Ph/?ref=app

6th Feb 2023, 5:17 PM
_MinatoGamerYT_
_MinatoGamerYT_ - avatar
3 Answers
+ 4
you could do it this way to merge the two HTML pages by copying the content from the second HTML page and pasting it into the first HTML page, within the body tag. You should then remove the title, head and body tags from the second HTML page, since you only need the content inside these tags.
6th Feb 2023, 5:26 PM
ArsenicolupinIII
+ 2
ArsenicolupinIII and if the 2° code has html, css and java script, I copy each language and past it to each section on the first code?
6th Feb 2023, 5:27 PM
_MinatoGamerYT_
_MinatoGamerYT_ - avatar
+ 2
Oh nvm I figured it out. Thanks!
6th Feb 2023, 5:38 PM
_MinatoGamerYT_
_MinatoGamerYT_ - avatar