User Blogs
:: Stewart's Blog
:: This Blog

Introducing The SVG Update!

+5

Update (June 23rd) - We have now added zooming capability on clickable map quizzes too!

Maps have been on JetPunk for many years now, and the whole system surrounding then hasn't had a major update since 2016 when we began allowing users to upload their own SVGs. Well today we bring you The SVG Update! This has taken many weeks of hard work, primarily by myself, with the help of a few others that provided feedback along the way.

The SVG Update isn't just for technical users as its name may suggest, it's not even just for quizmakers. It's a major update, and the first named major update from JetPunk! Here's a summary of the biggest additions and improvements we've made, with a full changelog beneath that for those interested.

Summary

  • Clickable Map Quizzes - These have been completely reworked to allow answers to be selected from a scrollable selector, this also allowed them to function much better on Mobile too. Quizmakers can also create them from scratch directly from "Create / Edit Quiz", the editor itself for them has also been cleaned up and drastically improved, especially the Design step. You can also enjoy many new features, including the option to randomize the output of these quizzes.
  • JetPunk Standard SVGs - We now have a set of standardized maps on JetPunk for all the community to use. We have both country and capital versions for the World and each continent, as well as the map of the U.S. too. This goes hand-in-hand with the next point.
  • SVG Selector - Quizmakers can rejoice to find that the whole process of adding SVGs to their quizzes has been completely overhauled. You can now choose to upload your own, or just select a JetPunk Standard SVG, adding it directly to your quiz without having to copy a quiz or download the SVG. Furthermore, we've added a tool to automatically added the necessary IDs to make the SVG responsive and turn green when answers are guessed!
  • SVG Guide - Anybody and everybody who wishes to get started creating their own SVGs can do so easily now, with the help of the fully comprehensive SVG Guide. This guide starts at the very basics, and goes into great depths to teach everybody how to make their own maps. It also has sections for common questions and issues surrounding SVGs on JetPunk, and how to solve them. (Link to it can be found in the quiz editor, under "Create / Edit Quiz" and also at the bottom of every page)
  • Dot Placer 2.0 - Those who may not be aware of the tool we have here on JetPunk to Place Dots on a Map, well we've drastically improved this too. You can now select from many JetPunk Standard SVGs, including all the continents individually. As well as being able to add styling to the circles added, allowing you to mimic the default JetPunk style for cities more easily. (Permanent link can be found in the SVG Guide)
  • Switching Between Desktop / Mobile Site - All users will enjoy the option to easily switch between the mobile and desktop site at the click of a button from the bottom of any page across the entire site!

They are the main additions and improvements implemented. However, we're sure there's many of you that are interested in seeing a list of all the changes that occurred during this update, and so we're here to provide that changelog! If you want to skip past to the comments, you can click the button:

Full Change Log

Click Map Quizzes

Perhaps the biggest change in this update is the complete overhaul of the clickable quiz format usually called "Map Quizzes". These involve choosing an option from a list of answers to match the currently highlighted path of a map / SVG. Here are all the changes to the format, which you can now access directly by clicking the purple button inside of "Create / Edit Quiz" above.

  • Answers during the quiz are now in a scrollable selector instead of scattered over the page. This not only makes the quizzes more compact, but also makes it easier to find a specific answer when there are lots of answers.
  • Map Quizzes now support randomized answers. This can be configured through the "More Options" button in Step 1. It will select a randomized subset of answers from Step 2 to the user.
  • The selector can have its header text, fill and text color all customized in Step 3 of the quiz editor. The height and width of it are also adjustable.
  • You can now Import and Export answers to and from Step 2. The formatting of this is as you may expect, it must be tab-delimited data, with an optional ID column on the far left, then a PATH or HINT column, then finally an ANSWER column. For more help on importing / exporting, see the link provided when importing / exporting in Step 2.
  • Playing Map Quizzes on mobile will now show the selector beneath the map, instead of as an on-device scroll selector. This means the option for more customizable answers, such as images, to be included and work seamlessly across devices.
  • You can now switch the sorting type from Alphabetical to Numerical, meaning that numerical data is now supported as answers.
  • Added shuffle and sort buttons to Step 2.
  • Map Quizzes containing circles or ellipses will now automatically add the "city selector" to the quiz, this is the blue ring that highlights the circles to make them more obvious when selected. This means you don't need to do anything to get it to work, as long as you have circles or ellipses.
  • You can navigate the answers using the arrow keys and the enter key to submit the answer.

SVG Selector and JetPunk Standard SVGs

As highlighted above, another major change we made was to include JetPunk Standard SVGs which are identical across the site. This brings uniformity to the site, as well as making future updates to quizzes much better and providing users who aren't so savvy with SVGs the option to create SVG quizzes.

  • We now have a brand new SVG Options screen within text quizzes and Map Quizzes. This new selector allows you to Select a JetPunk SVG, upload your own, download and remove SVGs. You can also see a preview of your SVG, as well as configure options related to SVGs in the quiz itself.
  • For text quizzes, you can configure the placement of the map, the "Show Missing Dots" feature as well as the option to enable "Hidden Paths" which will automatically hide paths within a quiz until they are guessed.
  • There is now a button to grab all the classes and IDs from a selected SVG so you can easily copy them into Step 2 later on.
  • You can select a JetPunk Standard SVG, choosing from the World map, World capitals, U.S. States map as well as the country and capital maps of each continent. These all have a regulated format, including the path ids all being the 2 letter ISO code for that country / region. A description of each SVG is provided, as well as a preview of it.
  • A new feature called "Auto Paths" has been implemented, this will apply the 2 letter ISO codes of any country, capital or state you have as answers in Step 2. The primary use of this is if you've used a JetPunk Standard SVG, then you can easily type the answers you want into Step 2 and click the "Add Path IDs" button to automatically add all recognised answers. Most alternate names and names from featured languages are accepted as well.
  • The upload limit is now "true" 600kb, rather than the 600,000 bytes it was previously.
  • Added more useful error messages when an SVG fails to upload, hopefully to make it easier to debug why an SVG won't upload.

SVG Guide

The major new addition in this update is a fully comprehensive SVG Guide aimed at new users to SVGs as well as regulars looking to refine their knowledge. This guide aims to provide a clearly laid out, step-by-step guide to making your very own SVG quizzes on JetPunk, including answers to common questions and problems. The SVG Guide is accessible from the footer on any page, or by visiting "Create / Edit Quiz" in the navigation bar.

  • Getting Started - This beginner's section gives a background to what SVGs are, ways you can edit them and how to download and install Inkscape, the best known tool for editing SVGs freely. We also detail how to add classes and IDs to a custom SVG so that we can make it interact with JetPunk.
  • JetPunk SVGs - This next section gives a complete tutorial on how to add an SVG to your quiz, making it light-up answers as well as using the SVG Selector itself. It also provides some background knowledge on JetPunk Standard SVGs and how they're formatted. Finally, we give detailed information on how Click Map Quizzes work, and how to create them yourself, including adding arrows as guides to answers.
  • Advanced SVGs - Once you feel you've mastered the basics, there's an advanced guide looking into the use of CSS and other functions in Inkscape to make more complicated SVGs and quizzes. You'll also find a complete reference to all the standard colors and classes used on JetPunk Standard SVGs and on JetPunk quizzes.
  • Common Questions - Everybody will have questions while making SVGs, it is inevitable. This section aims to solve those queries, including often asked questions as to how to do certain things with SVGs, and what the standard colors are.
  • Troubleshooting - If you're having a problem with an SVG, which for new users is quite likely, then you can head to the Troubleshooting page for help. This will assume knowledge of the rest of the guide, so if you've skipped over the basics, don't expect to find answers to them here. However, if you're having trouble uploading an SVG then we have every error message stated here for you to try and fix your SVG.
  • Other - For all SVG-related topics that didn't fit elsewhere. In particular, we talk about the Dot Placer and how to use it, and the "Show Missing Dots" feature of text quizzes.

Finally, remember that you can always ask questions to me here if you need help with anything SVG related whatsoever!

Other SVG Changes

We have greatly improved the dot placer, as mentioned before, as well as improved the zooming feature of maps.

  • The JetPunk "Dot Placer" will now have the option to draw dots on any continent, as well as the world and U.S. Map.
  • You can now fully customize the styling of your dots being drawn onto the map, although note this styling applies to all dots at once.
  • Dot Placer now works with Alaska and Hawaii on the U.S. Map.
  • The map on the Dot Placer is now zoomable.
  • The class "zoomable-circle" will now work with ellipses as well as with circles, and also adds the "small-stroke" class the same as the "border" class normally would, meaning circles no longer need the "border" class.
  • Fixed multiple bugs that caused poorly-formatted SVGs to zoom in and out incorrectly.

Other Changes

Finally, we come to all the other little changes around the site that wasn't related to SVGs.

  • Even Split will now only show the top score of a user on the leaderboard, this prevents a particular user from flooding the leaderboards with their name.
  • Added the ability to switch between mobile and desktop sites.
  • Fixed issues on tablets with the page width being incorrect due to differing device sizes.
  • When using "fill in the blank" on text quizzes using braces {like} {this}, the contents will now show in Step 4 as they'd appear on the live quiz.
  • Made "fill in the blank" work with Random Group quizzes too.
  • Added the option to format "Groups of Things" quizzes with re-ordering of groups allowed. This makes the balancing algorithm much more efficient, resulting in a more even distribution.
  • Randomized quizzes that are too wide to be shown on single rows will now work on mobile when scroll mode is off.
  • Added a timeout when saving blogs in case your internet cuts out part way through.
  • Deleting a quiz will now tell you in the confirmation box which is being deleted.

That's it! That's all the notable changes we have for you this update. Hopefully this summer I'll try to get more frequent updates out, although that depends whether they're as huge as this or not!

We really hope you enjoy all the new features SVGs now have to offer, and if you have any questions whatsoever, including needing help with anything, please don't hesitate to ask me in the comments section below. :)

100 Recent Comments
+1
Level 51
Feb 1, 2021
ok. what is from my school again?
+1
Level 68
Feb 1, 2021
DaRasBerryLegend is someone from your school
+1
Level 51
Feb 1, 2021
No he is not
+1
Level 68
Feb 2, 2021
Yes he is. I'm not allowed to give evidence why, because that's a data protection issue. However, that account is either someone from your school, or it is you yourself. If you continue lying here, then I have no reason to continue helping you at all.
+1
Level 51
Feb 2, 2021
But, I SWEAR ON MY LIFE THAT he IS NOT FROM MY SCHOOL, or he is and I just don't know... I don't know anyone from my school as into geography as me, but to be fair I only know like 50 people from my school, so maybe they are from my school but, I don't know, MAYBE he is from my schhool and pranking me or maybe they are in my class I HAVE NO IDEA ahhhhhhhhhhhhhhhhhhhhhhhhhhhh
+1
Level 68
Feb 2, 2021
Well, there are at least 4 users on JetPunk that I know of from your school. Whether you realise or not, because they all have the same email address ending, which in all of your cases indicates the school you're from. Obviously I can't give you more info than that, since this is a privacy issue.

End of the day, just use JetPunk like anybody else. Don't get so worked up over other people in your school using it. If you see comments that are insulting or something, then report them and let me / Quizmaster deal with it and do our jobs.

Also stop making alts. You'll deny it, but I literally banned one this morning which you made yesterday, commented here (which only you do) and then nominated 10 of your quizzes. Abusing nominations and alts, as mentioned above, will have serious consequences. So just stop.

+1
Level 68
Feb 2, 2021
Update, I'm very sorry Berry, I have gotten confused. I didn't realise you were from a different school to the rest of them.

The others all seem to be abusing nominations and will be dealt with, sorry for the misunderstanding.

+1
Level 51
Feb 2, 2021
okay. And no more alts.
+1
Level 51
Feb 2, 2021
yes sir
+1
Level 51
Feb 2, 2021
What is the "filter" feature for? What does it do?
+1
Level 68
Feb 2, 2021
It can filter the quizzes in a table by certain attributes. If you click it, some options will appear. You can type directly into the search box that appears to search for a quiz, or you can use the selectors to filter by type of quiz, language and more. (The options vary by page)
+1
Level 51
Feb 2, 2021
k
+1
Level 51
Feb 2, 2021
Why for other languages the home page has 1 or 2 quizzes only?
+1
Level 68
Feb 2, 2021
Because there's not enough featured quizzes to put more than that each day.
+1
Level 51
Feb 2, 2021
oh
+1
Level 51
Feb 2, 2021
What happens if you uncollaborate a quiz?
+1
Level 68
Feb 2, 2021
Exactly that. The quiz editor and preview is no longer shared with those users for that quiz.

Or if you don't own the quiz, uncollaborating simply removes your access to the editor and preview. It doesn't affect the live quiz at all.

+1
Level 51
Feb 2, 2021
I know how to make SVG's now but, still don't understand how to make Path ID's. How do you make Path ID's?
+1
Level 68
Feb 2, 2021
Ids for paths are just the "id" attribute of a shape in an SVG. You can edit this directly in the XML Editor of Inkscape. By default they are something like "path3234" or something, but you can change them to be something meaningful (e.g. "london"), and then this is what you need to put in the left most column of Step 2 of a quiz to make the SVG light up green when that answer is guessed.
+1
Level 51
Feb 2, 2021
k then
+1
Level 51
Feb 3, 2021
Will JetPunk ever allow google photos instead of just Wikipedia ones
+1
Level 68
Feb 3, 2021
Nope. We only allow Wikimedia and Pixabay photos because legally they are allowed to be used for "free use", which means we can use them and show ads on those page freely.

Majority of Google photos have copyright on them, which means we could get into legal trouble by showing adverts on those quizzes with those images. Since we can't turn ads off for a specific page, and we don't have lawyers to defend legal battles, we can't allow copyrighted images on JetPunk.

+1
Level 51
Feb 3, 2021
oh
+1
Level 51
Feb 3, 2021
If I were to quit JetPunk for a week without deleting my account, my account will still be able to work once that week ends right? Because I think I need a break from JetPunk. I am getting paranoid from stuff.
+1
Level 68
Feb 3, 2021
Correct, if you don't delete your account, nothing will change on it so it will be the same when you login again.
+1
Level 51
Feb 3, 2021
ok
+1
Level 51
Feb 4, 2021
What is John's (QM's brother) JetPunk account?
+1
Level 68
Feb 4, 2021
johnnyaitch, user number 2, although I'm not sure how much he uses JetPunk
+1
Level 51
Feb 4, 2021
ok
+1
Level 57
Feb 8, 2021
Hi, is there a way to make it so that if you give up on a quiz/run out of time and haven't guessed all the answers yet, then a different path lights up? I was planning to do this for my 'Mystery Country' quiz. I was able to do this by adding one extra answer (I accepted the mystery country as a type-in for it and specified svg-incorrect to light up the path in white, making it show up and svg-correct would hide the path), but this changed the number of answers to 197. Is there a way using CSS to fix this so that this extra path would not count towards the total # of answers?
+1
Level 68
Feb 8, 2021
Hmm, I'm really not sure as it seems quite complicated and I'm not entirely confident on what your use case is. You *can* detect when a quiz is over using a very complicated css selector (which I can provide if needed), and could then do stuff to a specific path at the end of the quiz.

I suppose, if I understand you correct, you could add every other path's id as a class of the new path, then have the post-game css white it if it gets svg-incorrect.

I believe this would then mean the path would disappear whenever you have an answer guessed correctly (or by default at the start) and then at the end, if it gains an svg-incorrect class, then at least one answer is correct so it can override it and show it instead. The thing I'm unsure of is whether a path can have both classes, but your comment implies they can.

+1
Level 57
Feb 8, 2021
My idea was to have some text at the bottom of the map which said "You Lost, Try Again!" if the user did not successfully complete the quiz. The path would be hidden at the start (colored in black) and the svg-incorrect for it would make it light up in white. As I mentioned previously, I would have to add another answer for this to work. You mentioned that it's possible to use CSS to detect when a quiz is over; so is it possible for it to make the path that says "you lost, try again" show up in white if the user does not successfully complete the quiz (but it would be hidden, camouflaging with the black at the start)? If so, could you send the code? Thanks
+2
Level 68
Feb 8, 2021
Okay this won't work, because once a path contains .svg-correct it cannot then obtain a .svg-incorrect. Meaning once at least once answer is guessed, the path would never appear at the end. And so you cannot have the path as one of the answers.

A simpler alternative I thought up just now:

Since you have a single kill switch to be able to get 100%, in the #1 case that is Slovenia, then what you can do is simply make the text have the same class as Slovenia's path. Then, the CSS becomes super simple as it's just:

#textID.svg-correct { hide } (default anyway)

#textID.svg-incorrect { show }

Since to have at least one answer incorrect you must have slovenia incorrect, then we can use this and piggyback off of it. I hope that makes sense!

+1
Level 57
Feb 8, 2021
This worked, thanks! :) (I changed the text for Slovenia in the answers to 'Mystery Country' and accepted Slovenia as a type-in so that when the user hovered over the 'You lost' text, the mystery country wouldn't be revealed)
+1
Level 68
Feb 8, 2021
Great! Glad it all worked well :)
+1
Level 51
Feb 10, 2021
In an earlier comment you wrote

When you reach 0 nominations, we notify you when you use the last nominate how long you have to wait till the next one.

Can you not notify me? Because I prefer not getting any notifications or anything.

-Berry

+1
Level 68
Feb 10, 2021
Sorry that was bad wording. We don't "notify" you by email or anything. We simply tell you right after you've used your final nomination in the popup that says "You've nominated this quiz" or something, instead of saying just "you have 0 left" it will tell you how long you have to wait.
+1
Level 51
Feb 10, 2021
Oh ok.
+1
Level 51
Feb 10, 2021
Do your nominations restock 7 days after your first nomination or your last?
+1
Level 68
Feb 10, 2021
As I mentioned before, you have a maximum of 10 per 7 day period. So if you use all 10, you will have to wait till the oldest / first of that 10 is 7 days old, and then another slot will be refilled. But you only get that one "back", you don't get 10 again since there's still 9 others in the past 7 days.

It's also done down to the hour, so it's actually in the past 168 hours not the past 7 days.

+1
Level 51
Feb 10, 2021
oh ok
+1
Level 51
Feb 10, 2021
Also, why does it sometimes say "Pending Moderation" when you comment?
+1
Level 68
Feb 10, 2021
Comments which might be spam or abusive are flagged for moderation, and so might have to wait before appearing. All comments with HTML code are moderated.
+1
Level 51
Feb 10, 2021
Okay. What is HTML?
+1
Level 68
Feb 11, 2021
Anything with < and > in text, including to make things bold, italics, add that horizontal line etc...
+1
Level 51
Feb 12, 2021
oh
+1
Level 51
Feb 19, 2021
I guess since I keep asking question, other people are....

If your main language on JetPunk was English and you finished the Country Trivia badge and earned it, then change your main language to French and did the Country Trivia badge, would you get two of the same badge?

+1
Level 68
Feb 19, 2021
badges are not attached to languages. There is no "french country trivia badge"
+1
Level 51
Feb 20, 2021
oh
+1
Level 51
Feb 20, 2021
How do you scramble the order of your answers in one of your quizzes?! I remember doing it once, but I can never find how to do it now.
+1
Level 68
Feb 20, 2021
If it's Multiple Choice, choose "randomize choices" on the right-hand side of Step 1.

If it's Map Quizzes, or Text Quizzes, choose "More Options" from Step 1 and then the option to randomize a quiz will appear.

+1
Level 51
Feb 20, 2021
umm.. I remember seeing a "Shuffle Answers" once in a Text Quiz, does it still exist?
+1
Level 68
Feb 21, 2021
This was never available for text quizzes, only for "click map quizzes". Their step 2 looks the same which is maybe why it was confusing.
+1
Level 51
Feb 21, 2021
ohhhhhh
+1
Level 51
Feb 21, 2021
A GIANT BATCH of my quizzes lost 1-3 nominations... Do you know why??? There was really nothing wrong with them I am pretty sure but, I have noticed that, you know how quizzes are purple and stuff when you have clicked 'em? And... if you have never touched them it will be blue. I have clicked EVERY SINGLE of my quizzes and some of them are turning into blue.
+1
Level 68
Feb 22, 2021
A pair of users who had spammed nominations on their own quizzes were found out, and so every single nomination they'd ever made was removed. This has inadvertently effected other users, sorry. I won't say who they were, the have been given a second chance to do things better.
+1
Level 51
Feb 22, 2021
So these people made nominations on my quizzes? Yeah, I think I know who they are already.... Wait, I thought it is okay to nominate your own quizzes.
+1
Level 68
Feb 22, 2021
Nominating your own is fine, nominating using alt accounts is not. These users made 10s of alt accounts to inflate their quizzes to climb the leaderboards.
+1
Level 51
Feb 22, 2021
10's??? That is SOOOOOOOO much! 1 is like bad but 10's IS TOOO MUCH!

Edit: If nominations were taken out of my account, that means that they are aware of my existence and is probably someone who comments many times of my quizzes.

+1
Level 51
Feb 22, 2021
Why can't you nominate quizzes in other languages?
+1
Level 68
Feb 22, 2021
Because other languages simply don't have enough users to justify it. English is more than 10x the daily takes and traffic of any other language, so it doesn't make sense to do it for any others.
+1
Level 51
Feb 22, 2021
oh okay
+1
Level 51
Feb 22, 2021
I don't understand the concept of reverting a quiz, can you explain this to me?
+1
Level 68
Feb 22, 2021
If the quiz that is live is different from the unsubmitted changes, then clicking "revert" will remove all the unsubmitted changes.

E.g. if you change a quiz's title, save the quiz, and then don't submit. Then clicking "revert" will change the title back to how it appears on the live page.

+1
Level 51
Feb 22, 2021
okay
+1
Level 51
Feb 24, 2021
Can you increase the width of the screen on a Multiple Choice quiz? If so, how do you do it?
+1
Level 68
Feb 24, 2021
You cannot change the width on Multiple Choice quizzes, all you can do is change the number of columns on any question for desktop layout.
+1
Level 51
Feb 24, 2021
Awww... :(((((((((((
+1
Level 51
Feb 24, 2021
How do you make an SVG so, that you can click each "section" instead of using keyboard shortcuts and stuff..?
+1
Level 68
Feb 24, 2021
I don't understand the question? If you mean a "click map" quiz, this is the purple button in the "Create Quizzes" page.
+1
Level 51
Feb 25, 2021
Let me try to say this better. In a "Click Map Quiz" and you have made a SVG map yourself, sometimes you cannot click each "part" of the SVG to click the answer and you have to use "Keyboard Shortcuts" instead of clicking each section of the SVG, how do you make it so, that you can click each section?

Like in this quiz

https://www.jetpunk.com/user-quizzes/1351174/brand-logo-coloring-book-puzzle-1

I can only use "Keyboard Shortcuts" or answer something to go to a different logo and I cannot click/ touch the other logos to change which one I have selected.

+1
Level 68
Feb 25, 2021
Okay I understand now.

This is because of a "bad" svg. The method of clicking only works if the object directly under the mouse is a path with the class "map-highlight" (which gives the blue colour). If this doesn't work, it must be because either there is a path above it with no fill / invisible fill blocking it, or the paths that should be clickable are in a group and not in individual paths.

This should be the same behaviour as hovering a correct / incorrect path on a normal svg (where the answer name appears at the bottom underneath the svg)

+1
Level 51
Feb 25, 2021
Ohhhhh I see now
+1
Level 51
Feb 26, 2021
Is it possible to unblock someone? There is two people I really want to unblock! I accidentally blocked them.
+1
Level 68
Feb 26, 2021
Nope it is currently not possible
+1
Level 51
Feb 26, 2021
I really want to unblock Pandora49 and baptistegorce :(
+1
Level 54
Mar 21, 2021
Can you tell plz me when my account was created?
+1
Level 68
Mar 21, 2021
2020-09-25
+1
Level 54
Mar 22, 2021
Ok, thanks
+1
Level 65
Apr 7, 2021
What about mine?
+1
Level 68
Apr 7, 2021
2020-05-12
+1
Level 65
Apr 13, 2021
when was my account created?
+1
Level 68
Apr 13, 2021
2020-03-31
+1
Level 42
May 9, 2021
When was mine
+1
Level 42
May 9, 2021
Mine goes day/month/year
+1
Level 68
May 9, 2021
14th august 2020
+1
Level 55
Jun 23, 2021
Hey Stewart, I just had a quick question- how do I upload a custom svg on the place dots on a map feature?
+1
Level 68
Jun 23, 2021
You can't, to convert latitude / longitude coordinates and place them on a map, you have to know the specific properties of that map. Including:

  • The projection
  • The scale used on both axes
  • The origin of the map (i.e. where 0º, 0º lies)

These factors were meticulously fine tuned for the existing maps, so I can guarantee 100% that nobody knows those properties of any map to be able to draw dots in the correct location.

+1
Level 55
Jun 29, 2021
Ok, thanks!

I also had another question- So I'm on Inkscape, and whenever I try to break apart the paths on the image, it gives me 3-5 extra paths for a single part of the image.

Is there a way to remove those extra paths so I can combine them into one?

+1
Level 43
Sep 24, 2021
I have a problem: my SVG doesn' show up in the quiz preview.

After uploading it, there was no error message and in "SVG Options" and step 4 actually the right SVG map I just uploaded was displayed. Therefore, there was no indication that something went wrong until the map went missing in the quiz preview. There's simply a white blank space in its place.

My SVG doesn't exceed the file or pxl size and is inside the "page border" in Inkscape.

Can someone help me?

+1
Level 68
Sep 24, 2021
I have found the issue.

In your SVG's main <svg> tag, there is a "stroke-width" attribute. This has no effect on the SVG, however when we retrieved the height and width of the SVG it grabbed this for the width instead of the actual width, meaning the SVG is thought to be only 2px wide!

I will fix this on JetPunk's side. In the meantime, simply open your SVG in a text editor, remove the "stroke-width="2"" from the first line and then re-upload and it should be fixed.

Sorry for the issue!

+1
Level 43
Sep 26, 2021
Thank you for your answer and the solving of the issue. I just uploaded the quiz and everything is OK now.

It's funny that this issue occurred at all.

lol 2px wide SVG hahaha

+1
Level 68
Sep 26, 2021
Yep, software does funky things sometimes :)
+1
Level 46
Feb 5, 2022
Hello,

I am in process of making a SVG quiz. I want it to include both L1 and L2 administrative subdivisions. How do I make L1 (e. g. Arizona) light all the L2 (e. g. counties) in it, without making guessing L2 invisible on map after that? I am attributing L2 to L1 class in Inkscape, but what do I do next...?

+1
Level 68
Feb 5, 2022
If I understand correctly, both L1 and L2 are answers. And you want something similar to the User Countries on profiles (e.g. mine) whereby the US is light green but the states are dark green? So essentially some way to colour each L2 twice, once when you guess its L1, and again when you guess the L2 itself.

Unfortunately, once the svg-correct class is applied to a path, you can't apply it more than once. So the only way to do this is to use two layers (maybe with transparency so both are visible). An example of this is here: Two layer world map. So you would have L1 shape on top of / underneath all L2 shapes, then do something CSS wise that you want (e.g. make invisible as in the quiz above, or colour something specific).

+1
Level 1
Feb 7, 2022
Bonjour,

J'aimerais savoir comment créer deux réponses différentes dans un même quiz (2 colonnes s'affichant en vert, on l'on peut mettre des réponses dans les deux colonnes.) J'ai essayé mais je ne peux que mettre des réponses dans une seule et unique colonne.

Merci

+1
Level 68
Feb 7, 2022
Pour ce faire, toutes les réponses doivent figurer dans la colonne verte à l'étape 2. Ensuite, à l'étape 4, réglez le mode de conception sur "Manual" et vous pouvez ajouter des colonnes supplémentaires et déplacer les réponses en utilisant le menu déroulant "Edit Cell Options" situé en haut de la page.

C'est l'une des limites de l'éditeur de quiz : toutes les réponses doivent figurer dans une seule colonne à l'étape 2.

+1
Level 54
May 27, 2022
i want to change the color of my trace the coast of americas in dark mode, is there a class for it which i have to add or what, so that it will show different on turning on dark mode
+1
Level 68
May 27, 2022
For dark mode simply add the class ".dark-mode" before it. So for example ".svg-holder path { fill: white; }" would become ".dark-mode .svg-holder path { fill: white; }".

Note there is no class for light mode. So light mode should be default behaviour, then add specific behaviours for dark mode.

+1
Level 54
May 28, 2022
Thank you very much