Mobile page edit

Hello everyone,
What is the best way to edit page mobile version that many items of him involved in the page code?

  1. Duplicate the page and adjust him and the code of him to the mobile version i want? in this case, how do i set the /route to be the same route of the ‘pc’ version?

  2. Stay with one page, and in the code check the form factor, if the form factor is mobile than hide elements? in this case, how can i remove the elements from the editor? it makes it quite messy and hard to design if i need to pretend like elements are not there while they are (but hidden on actually load).
    Thanks alot!