Hello @wpzainab, I love Toad78’s suggestion.
Maybe in some future update, not sure the best approach would be, but my intermediate WP mind sees it as: .CodeMirror would be able to except Regex rules, for example:
#/this-page/# <style>the styles I need for that particular page<style> #/this-page/#
#/that-page/# <style>the styles I need for that particular page<style> #/that-page/#
#/page-where-i-need-this-script-added/# <script>the script I need for that particular page<script> #/page-where-i-need-this-script-added/#
With the ability to set priorities, this is already the Best H&F plugin on the repository, and I believe adding page specific rules would/could push WPBrigade right over the top! Love this plugin as my 5-Star Review from a while back reflects, thanks to everyone working on these plugins, for all your hard work and dedication, Cheers!