按鈕上面加 onclick 事件默認鏈接到javascript 方法
如果寫 window.location.href = 'go-car.html'; 就是在同一個頁面打開
如果寫 window.open('go-car.html') 就是新建標籤頁打開
利 <button class="you but-or" onclick="window.location.href = 'go-car.html';">
按鈕上面加 onclick 事件默認鏈接到javascript 方法
如果寫 window.location.href = 'go-car.html'; 就是在同一個頁面打開
如果寫 window.open('go-car.html') 就是新建標籤頁打開
利 <button class="you but-or" onclick="window.location.href = 'go-car.html';">