Skip to content

Level 15 exercises #7843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 20, 2025
Merged

Level 15 exercises #7843

merged 5 commits into from
May 20, 2025

Conversation

iHiD
Copy link
Member

@iHiD iHiD commented May 16, 2025

No description provided.

@iHiD iHiD requested a review from dem4ron as a code owner May 16, 2025 08:16
@iHiD iHiD force-pushed the l15-exercises branch from c05bd50 to 866ea48 Compare May 20, 2025 09:04
@iHiD iHiD changed the base branch from main to add-new-fe-page May 20, 2025 09:04
@iHiD iHiD merged commit 5633dd9 into add-new-fe-page May 20, 2025
7 checks passed
@iHiD iHiD deleted the l15-exercises branch May 20, 2025 09:05
iHiD added a commit that referenced this pull request May 20, 2025
* Add back deleted files

* Render page

* Add bunch of stuff, remove bunch of stuff

* Capture js parsing and runtime errors

* FrontendTraining -> FrontendExercise

* Rename component in index haml

* Rename more things from FrontendTraining -> FrontendExercise, sort out localStorage, readonly ranges

* Only run JS code on "Run code"

* Parse JS

* Underline error location

* Show error using editor's internal state

* Make range-error more robust

* Sort out runtime errors

* Inject loop guard

* Add ruby scaffolding, Sort out header, add context data and more

* Miniature tweaks

* Add scaffolding for expected output

* Start bouncy ball exercise

* Add to config

* Add exercise

* Fix config

* Get stuff working

* Add diff button, expected tab

* Fix mising else if

* Fix pointer-events on Output

* Sort out instructions and overflowing

* Add diff

* Add expected iframe container

* run code on demand, add css normalisation and default css

* Add aspect-ratio to iframe body

* Try again sizing outputs

* Move RHS tab setting logic to store, Set tab to Output on diff mode: on

* Add some better styling

* Add logger

* Move logs to store

* Cap logs at 100

* Add overlay mode

* Fix cursor moving on paste

* Remove infinite loop guarding for now

* Add linter + prevent autoclosing tags

* Level 15 exercises (#7843)

* Add breakout css exercise

* WIP

* Add portgual

* Add trinidad and tobago

* Add nambia

* Tweak text

* Move to output on RunCode if RHS active tab is Instructions

* Tweak breakout

* Add improved ball

* Tweak more

* Adjust styles a bit

* Add pl to page-body-lhs

* Validate HTML then inject JS (#7851)

* Adjust activating output tab

* Inject JS on RunCode

* Slightly refactor

* Add css + html theme

* Add lint tooltip styles

* Add defaultCodes

* Add snake game

* Dynamically apply pointerEvents changes to iframe containers

* Fix lhs control-buttons' style

* Add Breakout Instructions

* Add border-radius

* Fix starting position

* Tweak everything

* Don't break on logging document out

---------

Co-authored-by: Jeremy Walker <jez.walker@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant