Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Your circuit can be simplified by using XOR gates.
you are correct and it eliminates the need of two ICs, i suggest the OP to do some practical experiment to finalise the values of ressitors. its easy to solder a prototype and get it checked on the bench.